Altair Basic Interpreter Source Code (1975) [pdf]
Eridanus2
52 points
33 comments
September 02, 2026
Related Discussions
Found 5 related stories in 51.7ms across 5,346 title embeddings via pgvector HNSW
- Original Apollo 11 Guidance Computer source code for command and lunar modules noteness · 12 pts · July 22, 2026 · 51% similar
- Turbo Pascal on CP/M, MSX-DOS and MS-DOS – Pascal for Small Machines rbanffy · 21 pts · August 12, 2026 · 47% similar
- A Study of Microsoft's Early 2026 Rollout of Claude Code and GitHub Copilot CLI softwaredoug · 49 pts · July 13, 2026 · 45% similar
- AttoChess, a complete, playable chess program for 16-bit x86 DOS in 278 bytes SeenNotHeard · 30 pts · July 16, 2026 · 44% similar
- Man and the Computer by John G. Kemeny (1972 book by the co-creator of BASIC) MilnerRoute · 38 pts · July 29, 2026 · 44% similar
Discussion Highlights (8 comments)
thrownawaysz
"FILE WILL BE DELETED AFTER PRINTING" hah I've never seen that before but reminds me to roguelike games. "permadeath coding" would be actually fun. IF compiler error THEN erase code repository or something like this
piker
These two guys* were crazy productive in the 2 months they worked. Just the level of commenting shows how much thought they were able to give it during that span. * plus the math package guy
davidfekke
Here is the 6502 assembly source code for Microsoft Basic: https://github.com/microsoft/BASIC-M6502
joebig
And all of it within ~4 Kbytes too!
ChrisArchitect
Associated blog post from 2025: Celebrate 50 years of Microsoft with the company's original Source code https://www.gatesnotes.com/microsoft-original-source-code (Discussion: https://news.ycombinator.com/item?id=43575884 )
petilon
Credit should be given to Digital Equipment Corporation. Back then software isn't what companies made money on, it is hardware. Source code wasn't guarded as a secret as it is today, and you could find print outs in the dumpster [1]. Bill Gates and Paul Allen found the source code of DEC Basic [2] and ported it. (Wikipedia says Microsoft Basic was "inspired by" DEC's PDP-10 BASIC-PLUS.) [1] https://www.businessinsider.com/10-things-you-didnt-know-abo... [2] https://www.theregister.com/software/2000/06/29/bill-gates-r...
tailrecursion
One of the things I'm often curious about is how various BASIC interpreters organize memory for string storage. You'd think there's some way to reclaim memory after an expression involving intermediate strings is finished. But you don't see descriptions for how BASIC works in this regard.
anonymousiam
Gates would have had access to Dartmouth BASIC, which he likely referenced and possibly plagiarized while writing Altair BASIC. Back in that day, people shared software freely, so Gates took advantage. https://en.wikipedia.org/wiki/Dartmouth_BASIC