‹ BackHN Continuity

Thread

Show HN: Thoreau BASIC – What if BASIC hadn't gone out of fashion?

92 points · 54 comments · Gorsefound

  1. NinjaTrance · · focus · HN ↗
    If that was the future of the language, I'm glad BASIC is dead.
    1. NinjaTrance · · focus · HN ↗
      To give a bit more of context, here is a small subset of the new instructions:

        - SOUND PRELOAD
        - SOUND INFO
        - SOUNDGROUP
        - SOUNDNAME$
        - SOUNDAVAILABLE
      
        - LOADWAV
        - PLAYWAV
        - STOPWAV
        - WAITWAV
        - PAUSEWAV
        - RESUMEWAV
        - WAVCTL
        - DELWAV
        - WAVACTIVE
        - WAVPLAYING
        - WAVSTATE
        - WAVPOS
        - WAVLENGTH
        - WAVLOADED
        - WAVSLOT
        - WAVCHANNEL
      
        - LOADMID
        - PLAYMID
        - STOPMID, WAITMID, DELMID, etc.
      
      What a terribly designed language.
      1. kbelder · · focus · HN ↗
        It's designed to optimize something you're not interested in. That's fine.
    2. JdeBP · · focus · HN ↗
      It was not the future of the language. It's starting, as the blurb says, from where GW-BASIC and the old Microsoft BASIC were in the early 1980s. We know what the actual future of BASIC was after those, because that future happened. It wasn't this at all.
    3. hakfoo · · focus · HN ↗
      It tells a specific counterfactual story, but it's one that has a reasonable background for it.

      If you were a new computer user in 1980, your Appie II+ or PET 8032 booted straight into BASIC, and it was a good-enough tool that could do productive development for the entire life of the machine there.

      But if you were a new computer user in 1990, you didn't have that. They gave you GW-BASIC, and if you're lucky a separate manual rather than a vague chapter in the main DOS manual. This might be enough to give you some initial experience with programming, but you have a bunch of hard brick walls.

      Your machine might have 640k-4Mb of memory, but GW-BASIC can only meaningfully work with 64k of it. You can't access the mouse or any post-EGA graphics modes without a LOT of assembly shimming. If you had a sound card, it was outside the built-in tooling.

      Remember, this is a few years before the Internet being widely available, and stuff like the GNU project being widely accessible. This is probably the best development tool you have available

      If you wanted to go further in programming, it meant buying a boxed compiler that probably cost well in excess of USD100, and was for a completely different language than the one you had cut your teeth on.

      But if you wanted "The GW-BASIC I already understand, but more", you want this.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.