Microsoft’s original source code
424 points
20 hours ago
| 29 comments
| gatesnotes.com
| HN
stkai
19 hours ago
[-]
The source code is such a fun read (for the comments). I found some source code for GW-BASIC, and here are two of my favorites:

  ;WE COULD NOT FIT THE NUMBER INTO THE BUFFER DESPITE OUR VALIENT
  ;EFFORTS WE MUST POP ALL THE CHARACTERS BACK OFF THE STACK AND
  ;POP OFF THE BEGINNING BUFFER PRINT LOCATION AND INPUT A "%" SIGN THERE

  ;CONSTANTS FOR THE RANDOM NUMBER GENERATOR FOLLOW
  ;DO NOT CHANGE THESE WITHOUT CONSULTING KNUTH VOL 2
  ;CHAPTER 3 FIRST
Edit: GW-BASIC, not QBASIC (https://github.com/microsoft/GW-BASIC)
reply
ndiddy
18 hours ago
[-]
Fun fact, GW-BASIC was a descendant of the original Altair BASIC. The "Translation created 10-Feb-83" headers on each source file refer to tooling Microsoft had that automatically translated the 8080 assembly to 8086 (it shouldn't be taken as a build date since they were manually modified after that point). Besides GW-BASIC, source code for the 6502 and 6809 rewrites of Microsoft BASIC were available up to this point (see https://www.pagetable.com/?p=774 and https://github.com/davidlinsley/DragonBasic) but I believe this is the first public release of the original 8080 BASIC code.
reply
deathtrader666
9 hours ago
[-]
Shouldn't it be "valiant" ?
reply
roryirvine
9 hours ago
[-]
Sure, but in those days spellcheckers were separate apps - the most popular at the time being CorrectStar from MicroPro.

They weren't integrated into programming-oriented editors, and it would have been unusual to run them against code.

reply
3836293648
5 hours ago
[-]
I still haven't seen anyone using a spellchecker in code outside of IntelliJ
reply
dhosek
31 minutes ago
[-]
Emacs has the ability to do spellcheck inline, both as a run through the buffer (old-school style) and as an as-you-type live feature. That said, I do most of my coding in JetBrains IDEs these days.
reply
timcobb
3 hours ago
[-]
Some people use VSCode extensions
reply
jimbob45
1 hour ago
[-]
The best programmers I’ve known have all been deficient at spelling. I don’t know why it so uniformly appears among them.
reply
nilsbunger
4 hours ago
[-]
Steve Jobs used to say the problem with Microsoft is they don’t have taste.

The font-shimmering effect on scroll immediately reminded me of that, it is really distracting. And you can’t use reader mode to disable it.

(FWIW, I’m a fan of Bill Gates and all he’s done for the world)

reply
nerevarthelame
2 hours ago
[-]
On top of the poor readability, my 2-year-old laptop can't even navigate through the page without CPU and GPU going insane, and my fans blasting at max speed. It's the poorest, choppiest web performance I can recall, all for what should be a simple blog post.
reply
SpaceNoodled
2 hours ago
[-]
That's the fault of modern websites being massive JavaScript ad-playing behemoths instead of sub-1kB served HTML as god intended.
reply
bostik
49 minutes ago
[-]
Tim Berners-Lee has been elevated to many things, but an ascension to deity must be a new reach.
reply
lkramer
3 minutes ago
[-]
I don't know, did you see the 2012 Olympic opening ceremony?
reply
kevincox
3 hours ago
[-]
FWIW the spinning scrolling effects of Apple release announcements are nearly as bad.
reply
zelon88
3 hours ago
[-]
Yes, I was shocked that Bill Gates's personal blog seems to have that "500 WordPress plugins" kinda vibe. Kinda reminds me of my old MySpace profile.
reply
graton
2 hours ago
[-]
Personally I like it :) Tastes differ.
reply
spookie
2 hours ago
[-]
I think it's pretty cool
reply
n0rdy
2 hours ago
[-]
Flipping through the source code is like a time machine tour of tech's evolution over the past 50 years. It made me wonder: will our 2025 code look as ancient by 2075?

And, btw, great infographics within the post.

reply
Towaway69
1 hour ago
[-]
Has there ever been a moment in human history where we’ve (as a society, not as individuals) looked back and were envious?

So my money is that the code I wrote today is the joke of tomorrow - for all involved.

Also, I for one don’t want to go back to punch cards ;)

reply
zabzonk
17 hours ago
[-]
I've written an Intel 8080 emulator that was portable between Dec10/VAX/IBM VM CMS. That was easy - the 8080 can be done quite simply with a 256 value switch - I did mine in FORTRAN77.

Writing a BASIC interpreter, with floating point, is much harder. Gates, Allen and other collaborators BASIC was pretty damned good.

reply
teleforce
8 hours ago
[-]
Fun facts, according to Jobs for some unknown reasons Wozniak refused to add floating point support to Apple Basic thus they had to license BASIC with floating point numbers from Microsoft [1].

[1] Bill & Steve (Jobs!) reminisce about floating point BASIC:

https://devblogs.microsoft.com/vbteam/bill-steve-jobs-remini...

reply
WalterBright
1 hour ago
[-]
Writing a floating point emulator (I've done it) is not too hard. First, write it in a high level language, and debug the algorithm. Then hand-assembling it is not hard.

What is hard is skipping the high level language step, and trying to do it in assembler in one step.

reply
zabzonk
50 minutes ago
[-]
I've never understood floating point :-)
reply
hh2222
4 minutes ago
[-]
Wrote floating point routines in assembler back in college. When you get it, it's one of those aha moments.
reply
WalterBright
19 minutes ago
[-]
The specs for it are indeed hard to read. But the implementation isn't that bad. Things like the sticky bit and the guard bit are actually pretty simple.

However, crafting an algorithm that uses IEEE arithmetic and avoids the limitations of IEEE is hard.

reply
zozbot234
8 hours ago
[-]
Floating point math was a key feature on these early machines, since it opened up the "glorified desk calculator" use case. This was one use for them (along with gaming and use as a remote terminal) that did not require convenient data storage, which would've been a real challenge before disk drives became a standard. And the float implementation included in BASIC was the most common back in the day. (There are even some subtle differences between it and the modern IEEE variety that we'd be familiar with today.)
reply
musicale
15 hours ago
[-]
I agree - it's a useful BASIC that can do math and fits in 4 or 8 kilobytes of memory.

And Bill Gates complaining about pirating $150 Altair BASIC inspired the creation of Tiny BASIC, as well as the coining of "copyleft".

reply
phkahler
17 hours ago
[-]
I still have a cassette tape with Microsoft Basic for the Interact computer. It's got an 8080.
reply
vile_wretch
10 minutes ago
[-]
I have a MS Extended Basic cassette for the Sol-20, also 8080 based.
reply
thijson
3 hours ago
[-]
I remember my old Tandy Color Computer booting up and referencing Microsoft BASIC:

https://tinyurl.com/2jttvjzk

The computer came with some pretty good books with example BASIC programs to type in.

reply
thesuitonym
4 hours ago
[-]
You should upload the audio to the Internet Archive!
reply
TMWNN
10 hours ago
[-]
>Writing a BASIC interpreter, with floating point, is much harder. Gates, Allen and other collaborators BASIC was pretty damned good.

The floating point routines are Monte Davidoff's work. But yes, Gates and Allen writing Altair BASIC on the Harvard PDP-10 without ever actually seeing a real Altair, then having it work on the first try after laboriously entering it with toggle switches at MITS in Albuquerque, was a remarkable achievement.

reply
WalterBright
1 hour ago
[-]
What Allen did was write an 8080 emulator that ran on the -10. The 8080 is a simple CPU, so writing an emulator for it isn't hard.

https://pastraiser.com/cpu/i8080/i8080_opcodes.html

Then, their BASIC was debugged by running it on the emulator.

The genius was not the difficulty of doing that, it wasn't hard. The genius was the idea of writing an 8080 emulator. Wozniak, in comparison, wrote Apple code all by hand in assembler and then hand-assembled it to binary, a very tedious and error-prone method.

In the same time period, I worked at Aph, and we were developing code that ran on the 6800 and other microprocessors. We used full-fledged macro assemblers running on the PDP-11 to assemble the code into binary, and then download binary into an EPROM which was then inserted into the computer and run. Having a professional macro assembler and text editors on the -11 was an enormous productivity boost, with far fewer errors. (Dan O'Dowd wrote those assemblers.)

(I'm doing something similar with my efforts to write an AArch64 code generator. First I wrote a disassembler for it, testing it by generating AArch64 code via gcc, disassembling that with objdump and then comparing the results with my disassmbler. This helps enormously in verifying that the correct binary is being generated. Since there are thousands of instructions in the AArch64, this is a much scaled up version of the 8080.)

reply
dhosek
26 minutes ago
[-]
The Wozniak method was how I used to write 6502 assembler programs in high school since I didn’t have the money to buy a proper assembler. I wrote everything out longhand on graph paper in three columns. Addresses on the left, a space for the code in the middle and the assembler opcodes on the right, then I’d go through and fill in all the hex codes for what I’d written. When you work like that, it really focuses the mind because there’s not much margin for error and making a big change in logic requires a lot of manual effort.
reply
zabzonk
9 hours ago
[-]
Allen had to write the loader in machine code, which was toggled in on the Altair console. The BASIC interpreter itself was loaded from paper tape via the loader and a tape reader. The first BASIC program Allen ran on the Altair was apparently "2 + 2", which worked - i.e. it printed "4" I'd like to have such confidence in my own code, particularly the I/O, which must have been tricky to emulate on the Dec10.
reply
WalterBright
1 hour ago
[-]
> which must have been tricky to emulate on the Dec10

I don't see why it would be tricky. I don't know how Allen's 8080 emulator on the PDP-10 worked, but it seems straightforward to emulate 8080 I/O.

reply
zabzonk
35 minutes ago
[-]
Well, I found it a bit hard on my Dec10-based emulator. I never got the memory-mapped stuff to work properly - I just mocked up some of the I/O instructions. But it was actually a spare-time project, intended to let my students do stuff like sorting, searching in strings, so I didn't feel too guilty. It had an assembler, debugger and other stuff. And it was portable - completely standard FORTRAN77!
reply
jwnin
19 hours ago
[-]
Some luck, and willingness to take risks paid off in ways that could never be anticipated. Not sure I'll see something like the pc era in my lifetime. Perhaps mobile phones, or the Internet.
reply
LeFantome
2 hours ago
[-]
The Internet?
reply
wrobelda
19 hours ago
[-]
I mean… The AI?
reply
thesuitonym
4 hours ago
[-]
Consider that nobody ever sat in countless meetings asking "How can we use the PC?" They either saw the vision and went for it, or eventually ran up against the limitations of working without a PC and bought in.
reply
hnuser123456
3 hours ago
[-]
Well, apparently, the guys in Xerox did sit in meetings not knowing what to do, until Steve Jobs visited PARC and saw what was possible.
reply
Izikiel43
16 hours ago
[-]
That came out of millions of dollars and man hours of investment by Google and OpenAi.

VS

Some college students selling software they didn't have and getting it ready from 0 to sellable in 2 months which led to a behemoth that still innovates to this day.

reply
jonas21
16 hours ago
[-]
It doesn't sound that different from Alex Krizhevsky training AlexNet on a pair of gaming GPUs in his bedroom, winning ImageNet, and launching the current wave of deep learning / AI.
reply
safety1st
13 hours ago
[-]
The big difference is that Bill's dad was one of the best corporate lawyers in America. Microsoft might not have amounted to much if they hadn't struck some extraordinarily prescient licensing deals at the right time and place.
reply
anovikov
4 hours ago
[-]
No difference really, just google who Bill Gates' mom was and how he got the IBM DOS deal... It wasn't BASIC that made MS big, it was DOS.
reply
Izikiel43
16 hours ago
[-]
Great point, I was thinking more on the Transformer architecture, but I stand corrected.

Google started similarly with PageRank as far as I remember.

reply
musicale
15 hours ago
[-]
Grad students, but yeah. CUDA was also basically invented by a grad student.

Many undergrad examples as well in the web era, from Excite to Facebook to Snapchat.

(Note the unanticipated consequences aren't always good.)

reply
_fat_santa
3 hours ago
[-]
Total sidenode but "Gates Notes" has to be one of the most exotic personal blogs I've ever seen. At this point would you even consider this a personal blog?
reply
queuebert
2 hours ago
[-]
Maybe Bill has really taken an interest in Javascript. /s
reply
jer0me
19 hours ago
[-]
The source code is linked at the end (warning: it's a 100 MB PDF).

https://images.gatesnotes.com/12514eb8-7b51-008e-41a9-512542...

reply
pdw
16 hours ago
[-]
The printout is dated 10-SEP-75 and is labeled "VERSION 3.0 -- MORE FEATURES TO GO".

Curiously this isn't the oldest extant version of the source code. The Harvard archives have a copy of version 1.1, printed on 30 April 75. http://altairbasic.org/other%20versions/ian.htm

reply
Aardwolf
9 hours ago
[-]
The printout also contains dates 6-SEP-64 below it, any idea what those are?
reply
seabass-labrax
19 hours ago
[-]
Thank you for the warning. I once used up my Internet package's entire monthly quota by following a similar link on Hacker News.
reply
mysterydip
19 hours ago
[-]
Ironic for something designed to take up only 4KB on its target machine :)
reply
paulddraper
18 hours ago
[-]
(It's a high-res image of the printed code.)
reply
masfuerte
19 hours ago
[-]
Nice one. Has anyone OCRed this back into text?
reply
pronoiac
10 hours ago
[-]
I attempted OCR with OCRmyPDF / Tesseract. It's not great, but it's under 1% the size, at least. https://github.com/pronoiac/altair-basic-source-code
reply
noname120
7 hours ago
[-]
Maybe you should try something like EasyOCR instead: https://github.com/JaidedAI/EasyOCR
reply
azemetre
15 hours ago
[-]
It's interesting reading this after finishing Palo Alto by Malcom Harris.
reply
jgord
13 hours ago
[-]
added to my must-read list.

I notice his interview on Democracy Now : https://www.youtube.com/watch?v=j7jPzzjbVuk

This guys mental map is impressive, as are the color of his book titles : https://www.goodreads.com/author/show/16872611.Malcolm_Harri...

reply
jh00ker
4 hours ago
[-]
Thanks for the Democracy Now interview! His description of "tech layoffs" is the most concise framing I've heard to describe what I've felt about it:

"Cosmetic offering to the financial markets to show that Silicon Valley still can control its labor costs... It's less the future flow of funds is improved ... than that they're signaling something to the markets ..."

https://youtu.be/j7jPzzjbVuk?si=YSbUW8h2mNktzj_9&t=634

reply
keepamovin
14 hours ago
[-]
Damn this is cool. I think text is an underutilized medium for design.
reply
ChuckMcM
17 hours ago
[-]
I would say, "Looking forward to the github repo with this code in ASCII" but I realize Microsoft would likely not allow that.
reply
pronoiac
10 hours ago
[-]
I attempted OCR, and while it's not great, it's a start. I considered adding a reference to "software wants to be free!" or the Open Letter, but I'm winding down for the night. https://github.com/pronoiac/altair-basic-source-code
reply
hypercube33
14 hours ago
[-]
Funny enough last night I was hoping more old 90s Microsoft code got open sourced and I somehow was living under a rock. Maybe one day I'll get to legally dig through NT 3.51 code. especially since it was ported to MIPS and Power iirc. I went on a huge tangent reading about how someone ported leaked ntvdm code to x64. They didn't provide code and I didn't go hunting for the leaked stuff and won't...but I think it's super neat how forward portable some of the stuff NT has is.
reply
jen20
16 hours ago
[-]
Why would they not allow it? They've published the source to numerous old products (including MS-DOS[1]), and they own GitHub...

[1]: https://github.com/microsoft/MS-DOS

reply
santiagobasulto
19 hours ago
[-]
Microsoft (and maybe even Bill Gates personally) generated a strong "dislike" sentiment to the hacker community. But we can't deny that he and Paul Allen were pure breed hackers and helped a lot the development of technology. Of course, we all prefer OSS and we'd pick Linus (or insert OSS dev name here) 100 times over one of the "evil capitalists"/s, but nevertheless they have to be recognized.
reply
linguae
17 hours ago
[-]
I’m a 90s kid (born in 1989), and I remember the days of the anti-trust lawsuit, “Internet Exploder,” the Slashdot Borg icon, and resentment from Mac users, WordPerfect users, Netscape users, and others who strongly disliked the Microsoft monopoly.

Still, there’s something about Microsoft of that era. Bill Gates was “one of us,” a passionate nerd. This was an era where nerds like Jobs, Woz, and Gates ruled. The 1990s and the 2000s felt exciting, and it felt like technology was making the world a better place.

I must admit, even though I was firmly in the Jobs and Woz camp in the 2000s, I also fondly remember Windows 2000, Visual Studio 6, and pre-ribbon Microsoft Office. Contrary to Steve Jobs’ opinion, I believe Microsoft has occasionally exhibited great taste :). For better or for worse, the 1990s was peak Microsoft.

Something happened in the 2010s. It seems like the tech industry has become just like any other industry that has gotten entrenched, and today’s tech leaders simply don’t inspire me like how the leaders of previous eras did. Today’s Web media companies are far scarier than 1990’s Microsoft ever was.

Then again, I was a mere child in the 1990s, and I became an adult in the 2010s, and so I could be looking at the 1990s through childhood memories.

reply
accurrent
15 hours ago
[-]
As a fellow 90s kid... I feel the same. I remember when Sony Ericson launched their first camera phone and how we used to go through PC upgrades like crazy. My dad would go to the bookstore to buy magazines with new linux distros included for free. Now I have laptop thats 4 years old and Im not excited to buy my next (heck I dont even need to buy my next... I can run LLama.cpp just fine on my current).

I do think the barrier to entry in tech has significantly increased. There was a wave of internet companies like Uber, (and their global equivalents) that benefited massively from providing local internet services. In the 2000s and 2010s the tech companies benefited massively from global poverty alleviation efforts to get users in remote regions on line. The push to get people online meant that millions of people in poor countries had access to social media and ads but not basic needs like toilets. As the tech companies saturated the emerging markets, covid began to hit. The stark inequalities began to be rubbed in. The big tech companies also dont really have any real material asset to fight over anymore. Their markets have been largely captured. As a big tech firm the game is now to maintain your lead. The industry is now run by MBAs, not hackers anymore.

reply
miohtama
10 hours ago
[-]
Now those poor people are online globally and can scroll Instagram.
reply
feketegy
9 hours ago
[-]
I think what you are remembering is just nostalgia, people tend to remember the good things and shut out the bad ones.

I still remember how Microsoft, under Gates, acted like a robber baron to the whole tech community. You had a nice product? It was instantly copied by Microsoft, and they pulled the rug under you because they could.

You wanted open standards? It was a war purely because Microsoft wanted it to be. It was either Microsoft's way or the highway.

I consider pre-2008 and pre-iPhone launch to be the peak of the Internet, but it's all downhill from that year onwards.

reply
Gud
7 hours ago
[-]
Yes, agree. Bill Gates was never ”one of us”. He came from extreme privilege and used his advantage to kill off much more innovative technologies. BeOS, anyone?
reply
TheOtherHobbes
4 hours ago
[-]
There's a throwaway quote about the school Gates was attending spending a few thousand dollars a year on a terminal and computer time.

The inflation factor is around 5X, so that's maybe $15k to $20k in modern money.

There were very few schools in the world with a five figure budget for computer experiments for a handful of pupils in the early 1970s.

reply
no_wizard
3 hours ago
[-]
>It seems like the tech industry has become just like any other industry that has gotten entrenched, and today’s tech leaders simply don’t inspire me like how the leaders of previous eras did. Today’s Web media companies are far scarier than 1990’s Microsoft ever was.

Three letters: MBA

When the MBA's came into the tech industry everything got stale, 'safe' and unexciting as they want to leech their fucking hands over everything in the name of maximal profit.

Private Equity follows MBAs so you see more PE firms getting into tech during the same period. Same story, fucking leeches leeching makes the leeches happy at the expense of society. In fact, it seems PE firms and MBA grads love making the world an actively terrible place

I hate business bros. They ruin god damn everything.

reply
marssaxman
16 hours ago
[-]
Gates showed his true colors right up front with the "Open Letter to Hobbyists", and pursued the rest of his career in like fashion. It's not just about Microsoft versus open source: many of us already resented their strong-arming, dominance-oriented, rent-seeking, ownership-hungry monopolistic approach to computing before the free software movement had really gotten going, or the term "open source" had even been invented.
reply
azemetre
15 hours ago
[-]
It is interesting, especially in the context of Gates childhood upbringing and his extremely rare access to computers and computer training.

Something that maybe one or two other dozen children had access to in the entire country during that time (60s/70s).

You have to also remember that computers were also seen as a public good for a large swath of users during this time too.

Makes you wonder how different this industry would be if we replaced Bill Gates singular childhood privilege with that of Bill Joy's (which looks like your typical middle class experience)? Only instead of one child, you could probably help thousands of children.

reply
ForOldHack
14 hours ago
[-]
Berkeley's Willard Jr high school bussed 7th grade student s up to Lawrence hall of science in the fall of 1970. I was the 3rd grade younger brother that started to print all the code, so I could walk through it. There were at least 70 to 80 kids there, and only two years later, they added two more 30 person labs. Dartmouth BASIC and HP basic were at most universities. While punched card FORTRAN was as most engineering schools.
reply
azemetre
2 hours ago
[-]
Yes, you're talking about getting access via public education. Bill Gates, as a child, had nearly 24/7 personal access to these machines.

Something most professionals didn't even have.

reply
BeetleB
15 hours ago
[-]
This is consistent with the parent comment. You can have a hacker mindset and be totally against open source. They are orthogonal qualities.
reply
mmooss
14 hours ago
[-]
How were they "pure bread hackers"? Was Gates especially proficient with code? I've never heard that. From what I read, they were the enemies of hackers. This really seems like looking back with rose-colored glasses.

My understanding of Microsoft's success was it came from marketplace maneuvers, many ranging from unethical to illegal, not from quality or innovative hacking. Compare Windows with any contemporaneous MacOS, for example. They took over the office productivity software market by illegally leveraging their Windows monopoly. Their initial and core success - getting DOS on IBM PCs, which led to the Windows monopoly - was simply leaping at a business opportunity, I think even before they began developing the product.

Didn't they generate fake errors for Windows running on DR-DOS, or something like that, even though it ran fine? Do you mind that they tried to destroy and monopolize the open web (thank you Mozilla!)?

reply
einr
12 hours ago
[-]
My understanding of Microsoft's success was it came from marketplace maneuvers, many ranging from unethical to illegal, not from quality or innovative hacking. Compare Windows with any contemporaneous MacOS, for example.

So it's 1992, and OS/2 still isn't happening.

But you can get a 386 at 16 or 25 MHz complete with maybe a 40 MB hard drive, color monitor, 256-color VGA, a couple megabytes of memory, and licenses for MS-DOS and Windows 3.1 for $1000 or less. This will let you do a lot of computer things.

If you want to run Mac OS, the very cheapest Macintosh you can get is the Mac Classic, and it costs $1695 for a 7 MHz 68000, a single floppy drive, no hard drive, and a 1-bit black and white display. This will enable you to do a lot fewer computer things, much more slowly.

Macs were very expensive. Windows was good enough. It wasn't better, necessarily, but it wasn't strong-armed onto the market by shady maneuvers either -- at the time of Windows 3 and 95 it was genuinely good "product-market fit". Microsoft, from its earliest days, was good at leveraging mass-market hardware to deliver "good enough" software that worked for the majority of people. Of course they did shady stuff that increased their dominance, but Windows would have sold like hotcakes either way.

Didn't they generate fake errors for Windows running on DR-DOS, or something like that, even though it ran fine?

IIRC that code existed, but was commented out in the final build.

reply
TheOtherHobbes
3 hours ago
[-]
It was strong-armed because Gates used family connections to negotiate a preferential deal for DOS with IBM, and then forced PC manufacturers to bundle DOS and/or Windows.

That was then leveraged into attempts to force Internet Explorer onto Internet users. Which was when the antitrust suit happened.

Meanwhile IE and Windows were notorious for being terrible pieces of software.

Windows was always horrifically buggy and crash prone - far behind even the most basic standards of professional reliability. 3.x was sort of usable but extremely simple, 9x was just horrific, and it wasn't until XP that it became almost reliable.

Both IE and Windows were also a security disaster.

Between the bugs and the security flaws Microsoft wasted countless person-centuries for its users.

The one thing that MS did right was create a standard for PC software. That was the real value of Windows - not the awfulness of the product but the ecosystem around it, which created Visual Basic for beginner devs and Windows C++ classes for more experienced devs, and kick-started a good number of bedroom/small-scale startup businesses.

For context, PCs at this time were also extremely expensive. The price of a Mac Classic got you a brain damaged 80286 and not much RAM. You had to spend $3k or more to get the newer 80386, and the 486/66 was just starting to become available.

reply
pjmlp
12 hours ago
[-]
And then all the folks that used to write M$ served the open Web in a plate to Google, now with the exception of Safari, what we have is ChromeOS, in browser, and being packaged in "native" apps.
reply
thenthenthen
10 hours ago
[-]
This also how I read the story, they were ‘basically’ salesmen/marketing guys with good investor storytime. The hacking part was hacking together code on the plane before the meeting to rake in the cash?
reply
lou1306
5 hours ago
[-]
> Was Gates especially proficient with code?

Well the article is obviously a biased source, but surely developing a) an ALTAIR emulator for PDP-10s (Allen) and b) a pretty much full-fledged BASIC interpreter that was exclusively tested on top of said emulator (Gates) in two months, in the 70s was not the kind of stuff an average coder would have done.

reply
dboreham
1 hour ago
[-]
Gates was obviously a proficient coder. I think you're experiencing a time compression phenomenon here: this was the mid 70s. Microsoft the big bad Microsoft that everyone knows about didn't appear until around the mid 90s. 20 years later, although from the perspective of 2025 those two eras seem pretty much adjacent.
reply
timewizard
11 hours ago
[-]
BASIC was written as a team in Albuquerque. Altair had good reason to support their efforts. They then purchased DOS from Seattle Computer Products after they made a deal with IBM to sell it. To be fair Xerox gave away the office suite and the hardware to anyone who asked.
reply
russellbeattie
17 hours ago
[-]
Allen wrote an 8080 emulator on a time shared PDP-10 in order for Gates to write the assembly code that implemented a BASIC interpreter - complete with I/O and editor - for a sight-unseen system, all in 4 kilobytes. And it worked the first time it was run.

I've been in the industry for 30 years and I couldn't do all that without serious Googling (or AI help nowadays).

Doing it as 20-somethings in the mid 70s definitely qualifies them as pure breed hackers to me.

reply
Seanambers
17 hours ago
[-]
As a kid of the late 90s i feel like it was kinda unfair.

Back in the day (70s(?)80s) computers shipped with the programming language manual. All I got was a CDROM of ENCARTA and a slip to mail in for a restore set of MS DOS / WIN 3.1 diskettes(which was sorely needed I might add).

reply
musicale
15 hours ago
[-]
I wish Microsoft would bring back Encarta!!
reply
hypercube33
14 hours ago
[-]
Microsoft Dinosaurs was also awesome
reply
russellbeattie
16 hours ago
[-]
In the mid 70s you got a badly mimeographed copy of the schematics and a bag of parts.

In the late 70s to early 80s you got a programming manual, but you had to save your programs on cassette tapes.

In the late 80s, you got glossy manuals which showed you how to turn on the computer, hook up a printer and load a program from DOS.

In the early 90s, the manuals were plain paper, smaller, and had instructions on how to use a mouse, and explained what a window is. Plus the mail-ins.

Mid-90s (CD-ROM "multimedia machines") you got a sheet of paper which told you to load the interactive tutorial from the included CD.

Late 90s you got 5000 hours of AOL. Plus another CD filled with co-branded crapware like CorelDraw Lite for Dell.

2000s+ crapware pre-installed, driver CD and a warranty card.

So really, the time period with the included programming manual was just a few years. And mostly all you did is print Hello World over and over again on the screen. So don't be too jealous.

reply
Joe_Cool
15 hours ago
[-]
Yeah. At least you got a good MSDN CD in 1999 with tons of example code and all the info you'd want on Windows.

Now we get: {{ Fill in the Description }}

https://learn.microsoft.com/en-us/powershell/module/storageb...

reply
adrian_b
6 hours ago
[-]
Good programming manuals that were delivered with the computers and with the compilers/interpreters have existed about for the entire time when MS-DOS was dominant, i.e. from the launch of IBM PC in 1981, which always had things like a commented BIOS listing, which was very instructive, and detailed documentation of all its hardware peripherals, until the mid nineties, i.e. until Windows 95.

Until the early nineties, the compilers and interpreters from companies like Borland and Microsoft came with big excellent programming manuals demonstrating how to use them.

Also any complex commercial application for MS-DOS, e.g. AutoCAD, Lotus 1-2-3, the BRIEF editor for programmers etc., would have voluminous manuals, including sections on how to write scripts in whatever embedded scripting language they were using.

Only for the users of pirated copies of MS-DOS, compilers etc., the access to manuals was more difficult and some of them may have even not been aware of what manuals were normally available for the legitimate owners. Most IBM PC clones also did not have much documentation delivered with them. Since they were made to be compatible with IBM, it was supposed that anyone who needs them will buy the original IBM manuals.

Since Windows 95, the vendors of hardware PC peripherals have stopped providing documentation for them, providing closed-source Windows device drivers instead, but before that, whenever I was buying some PC add-on card, it typically came with a manual providing enough information about control registers etc., that I was able to write an MS-DOS device driver myself, if necessary.

reply
urbandw311er
10 hours ago
[-]
It’s also kind of difficult to hate on a guy that devoted his remaining decades to literally saving tens of thousands of lives around the world.
reply
executesorder66
3 hours ago
[-]
It's very easy to hate on him for that very reason. He's just buying a good reputation for the fraction of his wealth that is completely insignificant.

If I could buy that kind of reputation by tossing a few coins into the void, why not? Especially after I've stolen billions from others.

reply
devsda
8 hours ago
[-]
Its possible. He is following the same tactics as when he was head of MS [1].

1. https://www.wired.com/story/opinion-the-world-loses-under-bi...

reply
jxjnskkzxxhx
10 hours ago
[-]
Yes, it's called pulling the ladder up behind you. I don't think "he was a hacker" mitigates anything whatsoever.
reply
bigstrat2003
18 hours ago
[-]
Meh, I don't prefer OSS. I prefer tools that work well, whatever they may be. For a long time, that was Windows. Microsoft went to hell, so now it's Linux. I'll happily use commercial solutions so long as they're good.
reply
bigger_cheese
14 hours ago
[-]
In "In the Beginning was the Command Line" Neal Stephenson used a car analogy to describe consumer operating systems, I always thought his analogy was pretty apt:

To paraphrase him a little bit:

Microsoft sells Family Station Wagons. Spare parts are cheap and plentiful and if they breakdown there is a huge network of dealerships with mechanics on staff.

Apple sells Luxury Sedans - nicer to drive than the station wagons but spare parts are uncommon and the oil changes are expensive.

Linux is represented by a group of volunteer hackers organized by consensus giving away tanks for free made from sophisticated space aged materials.

The observation he makes is 90% of people go straight to the biggest dealership and buy a station wagon without ever looking at any of the other options. They will make a bunch of excuses like "I Don't know how to maintain a tank" and get angry when told "You don't know how to maintain a station wagon either", in the end their argument boils down to "can't you see everyone else is buying a station wagon"...

reply
muppetman
15 hours ago
[-]
Yup! Which is why I use Linux but you better believe I've got Sublime Text installed (and licensed!)
reply
Barrin92
15 hours ago
[-]
What stands out to me about Gates and Allen is the serious technical chops. Writing an emulator for the PDP-10 and then an interpreter, line editor, I/O system all in 4KB of memory. The code is worth reading and in addition to that they had a very solid business sense and pretty serious work ethic for people who were 20 years old.

It stands to me in real contrast to the "fake it till you make it", "if it works you shipped too late" hustle culture that took hold of the industry, with entire products just being API wrappers. Really hope we see more companies that start out like Microsoft again.

reply
mindwok
15 hours ago
[-]
To be fair they definitely faked it, they said they had source code for a program they hadn't even written yet! They were just also very serious about the "making it" part.
reply
cybrox
9 hours ago
[-]
True but "fake it and then immediately proceed to make it" is definitely more appreciated than just burning through deals by lying for a long time, which "fake it till you make it" usually boils down to.
reply
netsharc
15 hours ago
[-]
IMO although it was complex, the human brain could still manage the complexity back then. Reading Woz's autobiography, it feels he knew what every logic gate on the original Apple computer did.

The PDP-10 probably worked at "human speed" too...

reply
firefax
4 hours ago
[-]
Why do I need to enable JS to view this website?
reply
johannes1234321
2 hours ago
[-]
Since the site is an art project and not a site tuned for pure functionality.
reply
amai
1 hour ago
[-]
Source code published as PDF? Come on, this should be published on Github.
reply
enigma101
2 hours ago
[-]
pretty slick
reply
srb24
12 hours ago
[-]
i thought they started by writing traffic control software, where's that source code? :)
reply
nxpnsv
10 hours ago
[-]
Nice design
reply
froggertoaster
15 hours ago
[-]
I met Bill Gates briefly a few years ago. Nice guy. Definitely buying his book.
reply
starik36
19 hours ago
[-]
The screenshot of the source code at the end of the article is a ton of printed code.

How was it then entered into the Altair? Did someone have to retype it? Or was there media that predated floppies that was used?

reply
ndiddy
18 hours ago
[-]
It was distributed on paper tape. You needed a teletype with a paper tape reader to run it. Basically you would manually enter a bootloader using the switches on the Altair's front panel, and the bootloader would read BASIC off the tape and into RAM. If the checksum passed, it would then jump into BASIC. Here's a video of the process if you're interested: https://youtu.be/TxU_3dEJ2nM?t=1013
reply
ttkari
19 hours ago
[-]
reply
richardwhiuk
19 hours ago
[-]
Paul Allen entered it in front of the customer for the first run

https://paulallen.com/Futurist/Microsoft.aspx

I expect it was distributed on tape as well.

reply
schlauerfox
18 hours ago
[-]
"he’d forgotten to write the bootstrap loader" He didn't load the whole program from the switches on the face, just the bootstrap that would let them feed the paper tape through the teletype/paper tape reader that was common at the time. It would take a very very long time to load the whole program by hand. See this video of a demo. https://www.youtube.com/watch?v=TxU_3dEJ2nM
reply
drcode
15 hours ago
[-]
damn, that's a crazy process- thanks for the video link
reply
davidblue
18 hours ago
[-]
Love how absolutely engorged and broken this web page is to dramatically depict a style that - were the article actually just published in plain text - would be what... a millionth the size? Should have known better than to be surprised that the "source code" one can "download" and "look through" is in a goddamned PDF.

I do truly wonder if the fact that he was publishing a PDF as downloadable "code" even caused him any pause lol.

reply
timClicks
17 hours ago
[-]
Shipping highly optimized assembler for a program made to work on computers with 4KB RAM as a ~100 MB PDF is quite the flex.

I must admit that while it's computationally quite wasteful, the web page does look quite neat.

reply
thesuitonym
4 hours ago
[-]
Regardless of what anyone thinks of the website, it's likely that the only way the code exists is that ream of paper. While Bill Gates could easily have bought an OCR reader to make a text file of it with the loose change in his couch, I don't think it's entirely unreasonable to just scan it in and provide that scan.
reply
whydoyoucare
18 hours ago
[-]
The article rendering hurt my eyes, and then it was a pdf of the source code! :-(
reply
ks2048
17 hours ago
[-]
If only Microsoft owned a place to post source code...
reply
gerdesj
17 hours ago
[-]
That would be either OneDrive or for the real l337 adminz: B:\

Git is for Linux and other cancers.

reply
joezydeco
17 hours ago
[-]
OneDrive? Look at mister corporate moneybags here. Sharepoint!
reply
filoleg
16 hours ago
[-]
SharePoint is where the real money and fun stuff is at.

How do you think the likes of Delta and McDonalds manage their intranet and document storage? OneDrive is just a glorified SharePoint feature.

P.S. Joking only partially, and not much at all.

reply
joezydeco
3 hours ago
[-]
Yeah, it's pretty awesome, right?

REAL windows enterprise companies worth their salt use a shared drive on \\global.

reply
nailer
17 hours ago
[-]
You can’t even use reader mode on the site because of the text effect. It will cut off after the first few paragraphs since the others have the effect applied.
reply
billforsternz
19 hours ago
[-]
There's something rather cringeworthy about the heavy and painful animations etc. on this website trying to create a 1970s computer technology vibe but instead just giving me a headache. I'd much prefer the same information, and the same vibe, with some much less fancy, lightweight easy to read web tech that actually simulates an authentic 1970s experience (I remember that era well! I'm an 8080 programmer myself from way way back).
reply
criddell
15 hours ago
[-]
I thought it was pretty neat and think they did a good job of creating that vibe. I have fond memories of that time and the computers and the electronics magazines.

As for the heaviness of the page… My 8 year old iPad loaded it just fine, so it couldn’t have been all that heavy.

reply
ch13_
15 hours ago
[-]
The page design is distracting and making it hard to browse through. Pressing Page down/up key does not work! Such a design is not UX friendly.

I tried to view on a Windows 10 machine that's connected to a physical keyboard. In the scrolling on the mouse feels so laggy - you gotta wait for the animation to play before you can read.

I spent hardly a minute to read the top and then jumped back here to make this comment, which I never ever did before.

reply
salgernon
17 hours ago
[-]
I had the same reaction to the site - but I could've been won over if there was a link to E1ite and C@@L basic source for the effects (at least the text effects which could've fit in 4k)

Steve Jobs quote: "The problem with Microsoft is that they just have no taste."

But I actually would prefer the pre-XP windows desktop to the flattened UIs of Apple's today.

reply
noosphr
15 hours ago
[-]
To be fair Jobs is dead so his ability to veto UI changes is limited.
reply
ForOldHack
14 hours ago
[-]
Bummer.
reply
jmcgough
15 hours ago
[-]
The animation is very reminiscent of Sneakers - wouldn't be surprised if that was the inspiration for it. It's a little distracting, but pretty cute imo.
reply
ilt
15 hours ago
[-]
But totally Microsoft, ain’t it? Elegance was never their thing.
reply
725686
15 hours ago
[-]
So you had to be "that" guy. I think it looks pretty cool.
reply
JKCalhoun
15 hours ago
[-]
This is HN. I would be surprised if that guy was not here. ;-)
reply
mmooss
14 hours ago
[-]
I think the guidelines actually say not to post comments criticizing the website layout, etc.
reply
winrid
16 hours ago
[-]
This website is the biggest missed opportunity to use win98.css ever
reply
hypercube33
14 hours ago
[-]
I had never heard of this but it's description for it's git is what I hope and dream for anytime I go look at a project related to or having a GUI. reference at https://jdan.github.io/98.css/
reply
switch007
17 hours ago
[-]
Guys, even reading this article could land you in jail!! Reading the code will forever taint your knowledge and cause every line you write to be subject to a lawsuit !! Stay safe !11

(Anyone else remember 2004, how scared everyone was when the Windows 2000 source was leaked?)

reply
vasco
12 hours ago
[-]
It's like how you see blogs with "not my company's words" and comments online with disclaimers "I'm not a lawyer". They serve no purpose other than telling you that person has a misadjusted sense of risk.
reply
timewizard
11 hours ago
[-]
> and cause every line you write to be subject to a lawsuit

See: Oracle v Google.

> Anyone else remember 2004

Remember John Ashcroft? The legal system was not as sophisticated then as it is now and juries were unlikely to penetrate even the basic issues of a case.

reply
gloosx
10 hours ago
[-]
[flagged]
reply
hulitu
12 hours ago
[-]
> Celebrate 50 years of Microsoft

Maybe vomit. So many days lost trying to use Windows, Office and other "apps"[1] from Mictosoft.

[1] They were never able to write programs.

reply
Seanambers
17 hours ago
[-]
Its written for people who know nothing about computers but most people who will read it knows loads.
reply
rayiner
16 hours ago
[-]
The fact that Microsoft has a $2.77 trillion market cap despite being terrible at virtually everything it tries to do proves large swaths of the economy are fake.
reply
iLemming
15 hours ago
[-]
> despite being terrible at virtually everything it tries to do

Oh, MSFT ain't even "terrible" compared to some other players. Try Salesforce. Or ADP. Or even Atlassian. I can't believe we're actually paying money to use them and OMG, the software... I feel like when going to conferences, I'd be like that guy from the cigarettes ad in Idiocracy https://www.youtube.com/watch?v=OzUcoZdfCOY ... "You work there? Fuck you!" :)

reply
musicale
15 hours ago
[-]
> terrible at virtually everything it tries

Microsoft things I think are pretty OK and don't really mind using:

Xbox, especially Game Pass; Azure; BASIC (particularly classic Microsoft BASICs and SmallBASIC)

Microsoft things that I think are not completely terrible and sometimes kind of useful:

Hyper-V; WSL; VSCode; C# and .NET; Visual BASIC; Excel and PowerPoint

reply
ecshafer
15 hours ago
[-]
I really don't like Microsoft products (notable exceptions include: F# and Age of Empires). But they are really good at getting companies to spend large amounts of money on their products. Slack is strictly better than Teams, however a company that already has Windows, Outlook, and Office really needs a good reason to spend $20/user (or whatever it is) for Slack over Teams. Azure I don't think is as good as AWS or GCP, however for a lot of business its we are already on Azure with Office 365 so why not?
reply
musicale
14 hours ago
[-]
> F# and Age of Empires

;-) I have never disliked MS games, or Xbox, or Game Pass.

I also dislike Teams, but Microsoft has integration, which means that it works with Outlook's calendar, with Office documents, etc. It's mediocre but full-featured.

I wonder what would have happened if Google Docs had evolved into a credible MS Office competitor? It's also amazing that Skype (and Hangouts/Meet for that matter) had such a head start over Zoom.

reply
wslh
7 hours ago
[-]
Google Docs is a competitor, but that doesn't necessarily mean it can take significant market share from Microsoft, especially among customers deeply embedded in the Microsoft ecosystem.

The reverse is also true: companies that are heavily invested in Google Workspace, GCP, and related tools are unlikely to switch to Office 365.

That said, there are exceptions. Legal professionals, for instance, often require the standard: Microsoft Word. And for advanced tasks, Google Sheets falls short of what Excel can do.

reply
kvirani
16 hours ago
[-]
Imho it just speaks to importance of first mover advantage, land grab, and most importantly distribution distribution distribution.

It's not fake, it's reality. And things have always has been this way.

reply
azemetre
15 hours ago
[-]
I recently left a company that was spending $10million on SalesForce licenses that no one was apparently using. When the re-org happened, heads were rolled.

How common do you think that story is? Over paying for software that doesn't actually make users more productive?

reply
wslh
16 hours ago
[-]
I don't think so, products are not the 100% of a business.
reply
s1artibartfast
13 hours ago
[-]
They are pretty good at making money at the end of the day, with ~100 billion/yr profits. Their P/E is only 30, which isn't outrageously overpriced.

What strikes you as fake?

reply
whatever1
15 hours ago
[-]
Cool Bill. But do you have what it takes to fix the onedrive shared folder bug that has been open for more than a year?
reply
creatonez
9 hours ago
[-]
Have you tried emailing random people who appear in the Windows 3.1 development team credits page? Maybe Daniel Stenberg, he definitely wrote some of the code that goes into Windows!
reply
breadwinner
19 hours ago
[-]
Microsoft got its start by Bill Gates doing some dumpster diving. Back then software wasn't seen as valuable thing, only hardware was. Source code wasn't something to be protected, so printouts of code would be thrown in trash. And that's where Bill Gates found the source code for Basic interpreter, which he ported and it became the first Microsoft product.

https://americanhistory.si.edu/comphist/gates.htm

https://paulallen.com/Futurist/Microsoft.aspx

reply
ThrowawayR2
19 hours ago
[-]
> "...so printouts of code would be thrown in trash. And that's where Bill Gates found the source code for Basic interpreter, which he ported and it became the first Microsoft product"

Both sources you link to say Allen and Gates pulled listings of the PDP-10 operating system out (probably DEC's TOPS-10?) of the trash. BASIC is not an operating system. So your claim is debunked by your own sources.

"...digging out the operating system listings from the trash and studying those. Really not just banging away to find bugs like monkeys[laughs], but actually studying the code to see what was wrong."

https://americanhistory.si.edu/comphist/gates.htm

"...He and Bill would go “dumpster diving” in C-Cubed’s garbage to find discarded printouts with source code for the machine’s operating system..."

https://paulallen.com/Futurist/Microsoft.aspx

reply
breadwinner
18 hours ago
[-]
Even Wikipedia says Microsoft BASIC wasn't original work: https://en.wikipedia.org/wiki/Microsoft_BASIC

"During the home computer craze of the late-1970s and early-1980s, BASIC was ported to and supplied with many home computer designs. Slight variations to add support for machine-specific functions, especially graphics, led to a profusion of related designs like Commodore BASIC and Atari Microsoft BASIC."

reply
pdw
18 hours ago
[-]
That article is a bit confusing because it's using the term "BASIC" to refer to both the language and Microsoft's implementation. But what it's trying to say is that Microsoft's BASIC implementation was licensed by many computer companies (including Commodore and Atari) and that those companies changed and extended it in incompatible ways.
reply
breadwinner
18 hours ago
[-]
Bill Gates was 19 at the time and in high school. Source code for pretty much anything was freely available in those days, not protected as "IP" like today. Do you actually think Gates — who has a well-known history of copying competitors — wrote his own Basic interpreter from scratch? And in 8 weeks? He has admitted to dumpster diving and finding all these goodies in DEC's trash, including BASIC.
reply
pdw
16 hours ago
[-]
Bill Gates did not write it by himself, Paul Allen and Monte Davidoff also worked on it. And they did not have a finished product after 8 weeks -- only a demo. The first commercial release was "version 2", half a year later.
reply
pcunite
16 hours ago
[-]
Podcast with Monte Davidoff

https://floppydays.libsyn.com/floppy-days-113-monte-davidoff...

Starts after about the first 15 minutes.

reply
ThrowawayR2
16 hours ago
[-]
How would Bill Gates copy source code from a 36-bit minicomputer with 32 kilowords (no byte addressing) of memory and a time-sharing operating system to a 8 bit microprocessor with a completely different instruction set and 4 kilobytes of memory and no operating system, just bare metal? Even if he and Allen had had the source code for BASIC-10, which you haven't provided evidence of, it would be closer to a reimplementation than a port.

And DEC was in Massachusetts, Bill Gates went to high school in Washington. That would be one hell of a road trip to dig into DEC's trash.

reply
breadwinner
15 hours ago
[-]
I think it was C-Cubed's trash, but it was DEC's IP. See: https://www.theregister.com/2000/06/29/bill_gates_roots/
reply
ForOldHack
17 hours ago
[-]
BASIC was " BASIC, developed at Dartmouth College, was initially designed for and ran on a GE-225 mainframe computer paired with a Datanet-30 processor, which handled communications with Teletype terminals. " I got into the game on HP BASIC, also with teletype ASR-33s, I was only 9.
reply
sitharus
17 hours ago
[-]
None of us write programs from first principles, it's all based on code we've read before. If I was going to write a BASIC interpreter I'd read up on the basics of interpreters, literature which would include sample code, and look at other interpreters' code.

No matter where you think the code came from, the impact of Microsoft BASIC was huge, and they were first to the market.

reply
sanswork
18 hours ago
[-]
That's not what that says at all. It says that the language was slightly different depending on the platform.

Microsoft basic wasn't the first basic interpreter which is a different claim than Microsoft basic source was copied from another interpreter.

reply
ThrowawayR2
18 hours ago
[-]
What part of that paragraph you quoted suggests that Microsoft BASIC wasn't original work?
reply
daeken
18 hours ago
[-]
Those were their own ports, as per the page you just linked. They developed Microsoft BASIC.

"The Altair BASIC interpreter was developed by Microsoft founders Paul Allen and Bill Gates using a self-written Intel 8080 emulator running on a PDP-10 minicomputer."

reply
outside1234
18 hours ago
[-]
And Apple stole a UI from Xerox Parc. Open AI stole everyone's content.

This is how the industry innovates

reply
exidy
16 hours ago
[-]
This is a myth. Jobs negotiated access to PARC technology as part of a deal in which Xerox bought shares in Apple at $10/share[0], selling about a year later at $22/share. Those shares would be worth around $5 billion today.

Xerox did later sue Apple for IP infringement, however most of their claims were dismissed[1].

[0] https://web.stanford.edu/dept/SUL/sites/mac/parc.html

[1] https://arlingtonmnnews.com/articles/bits-and-bytes/xerox-ve...

reply
mmooss
14 hours ago
[-]
> Xerox bought shares in Apple at $10/share[0], selling about a year later at $22/share.

> [0] https://web.stanford.edu/dept/SUL/sites/mac/parc.html

I searched the cite for the 'share', '10', '22', 'sold, 'sell', 'bought', 'buy', 'purchase', and found nothing. ?

reply
exidy
12 hours ago
[-]
Apologies, I was juggling multiple sources. The Xerox VC investment into Apple is a matter of public record, the figure of $10/share is widely quoted, including in the Walter Isaacson biography of Steve Jobs[0].

Exactly how and when Xerox disposed of its shares is not public record, but it's known to be around that timeframe and certainly Xerox made a profit. The book _Dealers of Lightning_ goes into more detail about the deal if you're interested[1].

[0] https://www.cnbc.com/2018/05/21/why-your-computer-has-a-mous...

[1] https://www.goodreads.com/book/show/1101290.Dealers_of_Light...

reply
mycall
18 hours ago
[-]
Now AIs are stealing from AIs.
reply
zabzonk
19 hours ago
[-]
Gates and Allen wrote and copyrighted the first Microsoft Basic, and the Dec10 8080 emulator needed to run it (I've written one of these - a bit later as it happens).

Allen wrote a loader (in machine code) for it on an aircraft flying down to sell it to Altair.

What ever you might say about them, they were not dim.

reply
breadwinner
19 hours ago
[-]
They were not dim, but Microsoft copied a lot, and didn't innovate. This aspect of Microsoft hasn't changed.

In the 1990s, during the competition between Microsoft and Sun Microsystems, Sun's CEO, Scott McNealy, compared Bill Gates to Ginger Rogers. This analogy suggested that, like Rogers, who danced everything Fred Astaire did but backward and in high heels, Gates was adept at following and adapting competitors' innovations. This comparison was part of Sun's broader critique of Microsoft's business practices at the time.

"It has been noted that everything Astaire did, Rogers was able to do -- backwards and in high heels. That's high praise for the nimble Ms. Rogers. But for a would-be visionary, following someone else's lead -- no matter how skillfully -- simply doesn't cut it."

https://web.archive.org/web/19991013082222/www.sun.com/dot-c...

reply
zabzonk
19 hours ago
[-]
Yes, well Scott McNealy will never be my idea of a brilliant man. Or Sun of a particularly good company - where are they now?

I remember one investment bank I worked for, starting:

IT tech: Would you like a Sun workstation?

Me: Nope, I would like a top of range Windows PC, with two or more screens.

IT tech: Yeah, OK, all the traders say that too. We're throwing those Suns in the dumpster.

reply
breadwinner
19 hours ago
[-]
Sun made incredibly good hardware and software. They were incredibly good technologists, responsible for lots of innovations, but they were bad at business. So in that sense they were the opposite of Microsoft.
reply
zabzonk
18 hours ago
[-]
Some quite good hardware, I must admit - their servers were good. Workstations less so, and ludicrously expensive for what they were.
reply
Henchman21
18 hours ago
[-]
Just yesterday I personally witnessed pallets of Sun/Oracle equipment being unloaded. I’ll admit, it made me nostalgic!

They’re still out there. Maybe not visible to normal folks, but I know for a fact until very recently the Chicago Mercantile Exchange used their hardware in great quantities— maybe even as the underlying hardware for their matching engines, though I admit this is conjecture on my part. They don’t exactly let exchange customers in those rooms!

I miss their 10k & 15k chassis. Solid kit for their day.

reply
vlovich123
19 hours ago
[-]
The spiritual successor for Sun machines is Oxide (lots of ex-Sun folks). And Sun got acquired by Oracle so it’s still technically around on the software side via virtual box and Java.
reply
snovymgodym
18 hours ago
[-]
That's the point though.

What's left of Sun is basically a startup founded by a few ex-employees, some open-source software, and the rest of their IP being milked by Larry Ellison.

reply
zabzonk
9 hours ago
[-]
Neither SunOS or Solaris were open source, or based on open source.
reply
snovymgodym
1 hour ago
[-]
I'm not talking about SunOS or Solaris. I'm talking about Java, dtrace, OpenZFS, and a various other random bits of Sun legacy still floating around in modern open-source systems.
reply
markus_zhang
18 hours ago
[-]
I love Oxide's podcast. I checked its career page a few times but they are only hiring for field sales.
reply
zabzonk
17 hours ago
[-]
And I should of said (and did say) "With a Kingfisher X server installed and configured"
reply
ForOldHack
14 hours ago
[-]
"This aspect of Microsoft hasn't changed." Now that is quite a dig, but I am going to have to completely agree, until they got Coulter but after that it is pretty much Microshaft.
reply
dullcrisp
19 hours ago
[-]
Seems that Ginger got the last laugh though.
reply
esafak
19 hours ago
[-]
When I look back at that era now I am amazed at how Gary Killdall failed to capitalize on his amazing position as the creator of CP/M, which was the dominant 8-bit OS and ran on numerous popular platforms, like the 8080, 8086, Z80, and the 68000. When IBM entered the PC market, Killdall and IBM could not come to an agreement so MS stepped in and licensed then purchased an imitation of CP/M called 86-DOS, which IBM offered in addition their own PC DOS. Killdall's company created an 8086 OS called CP/M-86 but it was more expensive than IBM's PC DOS and never took off. IBM did not want the liability of having contested code, so they let MS hold that bag and the rest is history.
reply
santiagobasulto
19 hours ago
[-]
I couldn't find the precise reference that mentions that they found the source code for the Basic interpreter and just "copied/ported" it. I did read they'd go "dumpster diving" to learn assembly. But not that they found and just ported the source code. Where is it?
reply
dekhn
19 hours ago
[-]
I think it comes from a misread of the text in the gates interview linked in the comment:

"r. We were moving ahead very rapidly: BASIC, FORTRAN, LISP, PDP-10 machine language, digging out the operating system listings from the trash and studying those. Really not just banging away to find bugs like monkeys[laughs], but actually studying the code to see what was wrong."

My understanding is that they saw the source implementation for other BASICs (on mainframes or whatever they were called at the time) but their code is mostly their own. Few if any programmers spring fully-formed from the head of zeus (although paul allen was close) and plenty of valuable intellectual property was originally created elsewhere.

reply
breadwinner
18 hours ago
[-]
"The listings evidently included Basic for the PDP-10, but it was Allen who did the Assembler programming to simulate the Altair, while Gates, Monte Davidoff and later Allen worked on a Basic interpreter for the machine."

See https://www.theregister.com/2000/06/29/bill_gates_roots/

reply
CamperBob2
19 hours ago
[-]
"Just porting" is doing some seriously heavy lifting, if it's referring to porting something from a mainframe to one of the micros of the day.
reply
shmerl
19 hours ago
[-]
Don't forget the infamous Open Letter to Hobbyists that followed:

https://en.wikipedia.org/wiki/An_Open_Letter_to_Hobbyists

reply
salgernon
16 hours ago
[-]
One minor thing to consider is that hobbyists weren't distributing the source code (as posted in the OP) but trading the paper tape of the executable interpreter. They wanted the interpreter so they could write their own software that was probably unrelated to basic itself, that was just a means to an end.

The industry pretty quickly moved to incorporate basic in rom on many platforms and microsoft was able to capitalize on that integration through licensing. I don't think his letter did much other than antagonize hobbyists - but they made a lot licensing to the hardware manufacturers later on (and the hardware was truly more valuable with basic on board.

(One of my all time to this day favorite computers from that era is the TRS-80 Model 100. I don't remember if Microsoft provided the entire software stack for it, but I believe it was the last product that Bill Gates actually contributed to the software development.)

reply
shmerl
16 hours ago
[-]
Licensing programming tools was staple MS, since it also provided lock-in. The letter comes off as the complete opposite of open source approach to it.
reply
ThrowawayR2
16 hours ago
[-]
And he won that argument. The steady movement away from Free Software licenses to shared source is because developers want to get paid by people using the code they created just as Gates describes in the letter. Even Bruce Perens is trying to hammer out a Post-Open Source license that's proprietary in all but name.
reply
shmerl
15 hours ago
[-]
For his goals at the time, but not really in the long run. Open development ecosystems like Rust are way better thriving than any closed ones.
reply