Live data from Hacker News

The original source code of Microsoft GW-BASIC from 1983

devblogs.microsoft.com

41–50 of 272 posts

Re: The original source code of Microsoft GW-BASIC from 1983

#41
post #24

GWBasic was good resource to get into programming world during my teenage. Now I want to teach coding to my 10 years old son. Will you still recommend GWBASIC/Quick basic or Python or other languages for kids?

Python is probably a better intro language than GW-BASIC ever was. I say this with all the reverence and fondness I still have for the latter.

Re: The original source code of Microsoft GW-BASIC from 1983

#42
post #8

That's awesome. I actually have GW Basic from my first computer available. Copied from the old 5.25 inch floppy to a 3.5 inch floppy via a 486 and then to a USB hard drive about 20 years ago into a folder i called "Diskette Collection".

I lost a lot of valuable stuff, including my own first programs I wrote as a kid, to aging diskettes and bit rot. And then threw the diskettes away. I wish I had had your foresight...

Re: The original source code of Microsoft GW-BASIC from 1983

#43

From a comment in the source > ORIGINALLY WRITTEN ON THE PDP-10 FROM FEBRUARY 9 TO APRIL 9 1975 Wow! I did not realize that it was written so quickly. Two months that literally changed the PC landscape forever.

Well...remember it is 'just' a BASIC interpreter. Woz wrote Apple integer BASIC in the evenings while working at HP in just a few months. Guys were writing crazy stuff at the time. The original version of DOS that Microsoft bought to license to IBM for the PC was written in 6 weeks.

I try to gauge the complexity of a task like this with a period view. On the one hand, BASIC was quite simple, and the 8-bit CPU had an instruction set that could be easily memorized (days before protected mode and 64 bytes worth of potential extended instruction decode prefixes!). On the other hand, debugging, code entry and documentation was sparse. (And there was no Stack Overflow.) So when I think to myself: How hard was this task compared to my for-fun projects? I really don't know what to think in today's inflationary terms. Thoughts?

Re: The original source code of Microsoft GW-BASIC from 1983

#44

Earlier quoted context omitted.

You and I both - first time I ever touched an IBM PC XT (in my Dad's office), I immediately fired up BASIC and went to town (had already been programming BASIC for 18 months by that time). It was the first time I ever saw him just stare in awe at me like I was an alien's child! :)

And me! (and a few hundred/thousand people in this great forum)!! Oh I still remember that Amstrad PC1512!!! What a carefree age that was...

I learned Locomotive Basic on a CPC464, then moved up to a PCW8256 before transitioning to a PC1512. Those were the days :)

Re: The original source code of Microsoft GW-BASIC from 1983

#45
post #35
post #7

It's really enjoyable to look at the source. These days one I feel it's quite rare to see assembly code not as an output from a tool like IDA Pro. If I remember correctly, the size of a compiled GWBASIC.EXE file was about 80 kB. What feels weird though is seeing all the files on GitHub last modified "38 years ago," which by the way, also includes the file CODE_OF_CONDUCT.md.

I'm not familiar with modula but this doesn't appear to be a valid program ;) I think it wasn't until Vim 8 that the default for .md files became markdown.

.md is mentioned as an extension in the text/markdown RFC from March 2016: https://tools.ietf.org/html/rfc7763

(Vim 8 was released in September of the same year.)

Re: The original source code of Microsoft GW-BASIC from 1983

#46

Earlier quoted context omitted.

It's too bad Microsoft QuickBASIC isn't a thing anymore. Who didn't love GORILLAS.BAS?

Yes! QuickBasic 4.5 was my jam! I used to churn out apps with that left and right.

I loved QuickBasic 4.5! It could compile programs to .EXE files ;)

And from there, once you hit QuickBasic's limitations, it was a small step to Turbo Pascal or Borland C!

Re: The original source code of Microsoft GW-BASIC from 1983

#48
post #6

This is great! But it makes me think that Microsoft need to add a BASIC compiler as standard in all Windows distributions. They did that Small Basic thing a while back, but it was too encumbered in .NET-isms, a kind of Visual Basic .NET lite. It would be great if there was just a easy to understand BASIC that you could hack away with that could produce interesting programs without the .NET cruft or the barrier that i…

It's too bad Microsoft QuickBASIC isn't a thing anymore. Who didn't love GORILLAS.BAS?

https://en.wikipedia.org/wiki/Gorillas_(video_game)#QB64_Ver...

Re: The original source code of Microsoft GW-BASIC from 1983

#49
post #22

From a comment in the source > ORIGINALLY WRITTEN ON THE PDP-10 FROM FEBRUARY 9 TO APRIL 9 1975 Wow! I did not realize that it was written so quickly. Two months that literally changed the PC landscape forever.

It's funny how stuff that got put together quickly like GW-BASIC and JavaScript got so much success because of luck and popular appeal. It's like music. The best music has never been in the top of the charts. The best movies have never won Oscars. This is pop computing.

Well, some of us think that acts like Kanye, Jay-Z, Amy Weinstein, the Beatles, and Led Zeppelin were pretty great even though they had the crassness and audacity to make it to the top of the charts
Post reply on HN