They made final changes on the airplane to Albuquerque
Cinquenta anos após dois jovens programadores blefarem para conseguir um contrato e então trabalharem febrilmente para honrar a promessa, Bill Gates abriu ao mundo o código-fonte do Altair BASIC — 157 páginas de linguagem assembly que cabiam em 4 kilobytes e que deram origem à Microsoft. É um gesto raro numa indústria que costuma guardar suas origens como segredos comerciais, e que convida a uma reflexão sobre como impérios tecnológicos nascem não de certezas, mas de apostas feitas antes que o mundo entendesse o que estava em jogo.
- Em 1975, Gates e Allen prometeram à MITS um software que ainda não existia — e então correram contra o tempo para torná-lo real antes que o blefe fosse descoberto.
- A restrição brutal de 4 kilobytes de memória transformou a escrita do código numa batalha de engenhosidade, exigindo decisões que programadores modernos dificilmente conseguiriam imaginar.
- As últimas alterações foram feitas dentro de um avião rumo a Albuquerque, com o prazo criado pelo próprio blefe se fechando a cada quilômetro voado.
- A demonstração funcionou, a licença foi assinada, e o que nasceu daquele único pitch bem-sucedido se tornaria uma das empresas mais influentes do século XXI.
- Agora, ao liberar publicamente o código no 50º aniversário da Microsoft, Gates transforma um artefato privado em patrimônio coletivo — uma janela arqueológica para o momento em que a computação pessoal deixou de ser teoria.
Em janeiro de 1975, a capa da Popular Electronics apresentou o Altair 8800 ao mundo. Para a maioria, era uma curiosidade. Para Bill Gates e Paul Allen, estudantes em Harvard, era o início de algo imenso. Eles decidiram escrever um software que permitisse às pessoas comandar a máquina por conta própria. Essa decisão se tornaria o Altair BASIC — e, com ele, a Microsoft.
O caminho até lá foi feito de audácia e improviso. Quando abordaram a MITS, fabricante do Altair, afirmaram que o programa já estava pronto. Não estava. Por semanas, trabalharam num laboratório de Harvard, testando o código num emulador do processador Intel 8080 construído pelo próprio Allen. O programador Monte Davidoff escreveu as rotinas de ponto flutuante. Tudo precisava caber em apenas 4 kilobytes — uma restrição que os forçou a pensar de formas que poucos programadores de hoje conseguiriam conceber. Os ajustes finais foram feitos durante o voo para Albuquerque, sede da MITS, numa corrida contra um prazo que eles mesmos haviam inventado.
A demonstração funcionou. A MITS licenciou o software. A empresa que seria chamada de Micro-Soft — com hífen, inicialmente — nasceu daquele único pitch bem-sucedido.
Cinquenta anos depois, Gates fez um gesto incomum: liberou o código-fonte completo do Altair BASIC ao público. São 157 páginas de assembly, um PDF que funciona como artefato arqueológico. Para a maioria das pessoas, será opaco. Para programadores e historiadores da tecnologia, é uma janela para o instante em que a computação pessoal deixou de ser hipótese e se tornou realidade — onde se pode ver, linha por linha, a engenhosidade necessária para fazer um interpretador funcionar num espaço menor do que um anexo de e-mail moderno.
Gates descreveu o Altair BASIC como o código mais fascinante que já escreveu. A afirmação tem peso: tudo o que veio depois — Windows, Office, Xbox, e até o apoio financeiro que chegaria à OpenAI — traça sua origem até aqueles 4 kilobytes. Era a prova de que computadores podiam ser pessoais, podiam estar em todo lugar, podiam mudar como as pessoas pensavam e trabalhavam. Gates e Allen apostaram nessa visão quando quase ninguém mais apostava. O código que escreveram foi a primeira aposta que venceram.
In January 1975, the cover of Popular Electronics featured something that would reshape computing: a small machine called the Altair 8800. Two young programmers—Bill Gates and Paul Allen, then students at Harvard—recognized what others saw as a novelty. They understood it as the beginning of something vast. They decided to write software that would let people command the machine themselves. That decision became Altair BASIC, and it became Microsoft.
The story of how it happened is one of audacity and improvisation. When Gates and Allen approached MITS, the company that built the Altair, they claimed the program was finished. It wasn't. For weeks they worked in a Harvard lab, testing code on an emulator of the Intel 8080 processor that Allen had built himself. Monte Davidoff, another young programmer, wrote the floating-point routines. The entire thing had to fit into 4 kilobytes of memory—a constraint so severe it forced them to think in ways modern programmers would find almost unimaginable. They made final changes on the airplane to Albuquerque, where MITS was headquartered, racing against a deadline they had created by their own bluff.
When they demonstrated it, it worked. MITS licensed the software. The company that would become Microsoft—initially called Micro-Soft, with a hyphen—was born from that single successful pitch. Gates would later describe it as one of the most fun and challenging things he had ever done.
Fifty years later, on the anniversary of Microsoft's founding, Gates made an unusual gesture in an industry that typically guards its origins. He released the complete source code of Altair BASIC to the public. The document is 157 pages of assembly language, a PDF that reads like an archaeological artifact. For most people it will be opaque. For programmers and technology historians, it is a window into the moment when personal computing stopped being theoretical and became real. You can see the actual decisions they made, the actual constraints they worked within, the actual ingenuity required to fit a working interpreter into a space smaller than a modern email attachment.
What makes the gesture significant is not just nostalgia. Gates has said this was the coolest code he ever wrote. That claim carries weight. Everything that followed—Windows, Office, the Xbox, the financial backing that would eventually support OpenAI and ChatGPT—traces back to those 4 kilobytes. The Altair BASIC was not just a product. It was proof of concept for an idea that seemed impossible at the time: that computers could be personal, that they could be everywhere, that they could change how people worked and thought. Gates and Allen were betting on that vision when almost no one else was. The code they wrote was the first bet they won.
Citações Notáveis
It was one of the most fun and challenging things he had ever done— Bill Gates, describing the creation of Altair BASIC
The coolest code he ever wrote— Bill Gates, on Altair BASIC
A Conversa do Hearth Outra perspectiva sobre a história
Why does Gates call this the coolest code he ever wrote? He's written so much since then.
Because it was the moment when an idea became real. Everything after that was building on something that already worked. This was the thing itself—the proof that it could be done at all.
They lied about having it finished. How does that fit into the story?
It's the part that makes it human. They saw the opportunity and they moved toward it, even though they weren't ready. Then they worked until they were. That's not dishonesty—that's hunger.
Four kilobytes seems impossibly small. What does that constraint actually mean?
It means every byte mattered. Every instruction had to earn its place. You couldn't be wasteful or clever for its own sake. You had to think in terms of absolute necessity. That kind of pressure teaches you something about design that you can't learn any other way.
Why release it now, after fifty years?
Because the moment has passed. It's not a secret anymore. It's history. And history is more valuable when people can see it directly, not just read about it. You can hold the actual thing in your hands.
Does seeing the code change how you understand what they did?
It does. You see the shortcuts, the clever moves, the places where they had to choose between elegance and space. You see that they were solving a real problem with real constraints, not writing something theoretical. That makes it matter more, not less.