hn.today

Things That Turbo Pascal Is Smaller Than (2011)

prog21.dadgum.com240 points150 comments
Screenshot of Things That Turbo Pascal Is Smaller Than (2011)

Turbo Pascal 3.02 for MS-DOS, released in 1986, combined a Pascal compiler and an integrated editor in a single executable measuring just 39,731 bytes. The piece uses that compact size to make a point about how much functionality could fit into software of the era: Turbo Pascal was a complete, commercially useful programming environment, and it compiled projects exceptionally quickly compared with Microsoft’s competing compilers. Its significance is not merely that old software was small, but that a capable tool could be both compact and practical.

To put the size in perspective, the author compares Turbo Pascal with assorted files and software available in 2011. It was smaller than minified jQuery 1.6, the Yahoo homepage, an image of an iPhone 4S, the OS X Lion version of the touch command, a PDF quick-reference card for Vim, Erlang’s compiled parser, and the Wikipedia page for C++. Even zlib’s header file in the Mac OS X Lion SDK was more than twice as large. These comparisons invite readers to reconsider the scale of modern software and the trade-offs behind it: a tiny program could deliver a powerful development experience, while contemporary web pages, libraries, and images often occupy far more space than an entire compiler and IDE once did.

Read on prog21.dadgum.com150 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Aristotle Expands into Rust

Aristotle has expanded its formal verification platform to Rust, allowing developers to prove code meets specifications and contains no undefined behavior, including in unsafe blocks. It can also verify that Rust rewrites behave like their original C code, targeting critical software such as smart contracts and infrastructure. (harmonic.fun)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.