Live data from Hacker News

The original source code of Microsoft GW-BASIC from 1983

devblogs.microsoft.com

111–120 of 272 posts

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

#111

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.

Think what you could do with a little time off and your own agenda to write something meaningful.

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

#112
post #68

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.

For one person working 8 hours a day, that's roughly one line of assembly language per minute. If you know assembly language, and you know the algorithms you're implementing, that doesn't seem especially fast.

how long would it take you to write a fast circle routine in assembler?

(with stack overflow blocked)

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

#114
Looking at this source code I'm astonished by how many lines of code it is. I've never written more than the most basic (ha) of assembly language programs in my lifetime.

How does all this assemble into a 60k binary?!

Also, wasn't it true that Steve Wozniak was able to bootstrap the entire Apple I BASIC in hexadecimal from his own memory? How can that be? I'm reeling.

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

#115
post #56

The funny thing about this announcement is that a week ago I just found my old QBASIC textbook that I learned how to program with back in 1998. QBASIC was my very first programming language; I was a nine year old kid who loved computers and would read anything computer-related that was available, including my mom's textbooks (she was returning to college at the time and took some courses on computing and applications…

My first attempt at coding was with a Java Programming For Dummies book around the Java 1.1 era, using applets. That was a terrible choice for 12 year old non-native english speaking me, and I never got too far.

Somehow I ended up trying QBASIC a couple of years later and programming suddenly became a lot easier and fun. I especially loved that you could easily switch to graphics mode and just start drawing pixels and lines to the screen, it was like the perfect blank canvas to try out different ideas for a curious young mind.

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

#117
post #83
post #56

The funny thing about this announcement is that a week ago I just found my old QBASIC textbook that I learned how to program with back in 1998. QBASIC was my very first programming language; I was a nine year old kid who loved computers and would read anything computer-related that was available, including my mom's textbooks (she was returning to college at the time and took some courses on computing and applications…

I wrote my first line of code on a game console without persistent storage. Coding is everything that makes computer a computer. Now, some kids in college have an impression that coding is less relevant for a CS career.

When I was a kid my brother and a friend and I would spend hours punching games into a C64 out of the back of byte or compute magazine. We would work in shifts, one typing, one reading, and one proofreading to make sure what was said is what showed up on the screen. Usually by the time we were done it would be 4 a.m., so we would play the game for a little bit and then carefully tuck the C 64 in the corner so nobody would trip on the power cord. We didn’t have the floppy or tape drive, so the game only would live for as long as the power was on.

Good times. The best was when there was a typo or a bug or it just didn’t work. Esp. the machine code that was just pages of hex.

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

#118
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.

You think there weren't codes of conduct back in 1983? ;)

All those years, people thought MS was hostile to open source, but their commitment was right there all along, in the GW-Basic code of conduct, with a link to their website too!

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

#119
post #68

Earlier quoted context omitted.

For one person working 8 hours a day, that's roughly one line of assembly language per minute. If you know assembly language, and you know the algorithms you're implementing, that doesn't seem especially fast.

You find me someone who can code assembly for 8 hours a day continuously for two months and I'll hire them on the spot.

I've had jobs where that level of productivity would have gotten me fired for goldbricking. Gotta love the game industry...

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

#120
post #69

Earlier quoted context omitted.

Similar story, learned to program using GWBASIC and loved figuring out how to recreate Conway's Game of Life, fern fractals, etc on my own. Though 25 years later can't pass FAANG whiteboard interviews with just an EE degree!

> Though 25 years later can't pass FAANG whiteboard interviews with just an EE degree! Nor could I. But I think that's ok. I remember trying to make a game using a BASIC interpreter on Sinclair ZX80 Soviet clone and failing. Yet, here we are on HN taking about tech and leading lives in tech, whatever that means for us. I don't know where I'm going with this, but I'm glad for that experience and where it got me. And,…

Haha likewise mate, cheers
Post reply on HN