← Sun, Nov 15 digest

Things That Turbo Pascal Is Smaller Than (2011)

read article ↗ hn thread ↗

Turbo Pascal 3.02's entire compiler and IDE executable was under 40KB, making it smaller than many modern single header files, images, and command-line utilities.

summary is enough The post makes a single humorous point with a list, but the real value is in the comment thread discussing software bloat and language history.

summary

James Hague compares the 39KB footprint of Turbo Pascal 3.02's compiler and IDE to various modern artifacts from 2011, such as minified jQuery, a single Apple product image, and the macOS touch utility. The comparisons highlight the massive expansion of code size and resource consumption over decades. While some commenters defend modern bloat as a trade-off for advanced features and developer productivity, others lament the loss of end-to-end system understanding.

key points

  1. Turbo Pascal 3.02 packed a full commercial Pascal compiler and integrated IDE into just 39,731 bytes.
  2. The executable is smaller than common modern reference files like zlib.h, a vim PDF cheat sheet, and a minified jQuery script.
  3. Commenters debate whether this bloat is an inevitable tax for developer productivity and feature richness, or a symptom of undisciplined engineering.

who should read it

Retrocomputing enthusiasts, systems programmers, and developers interested in software bloat and language history.

discussion mixed

consensus

Commenters generally agree that modern software is vastly more bloated, but they split on whether it is an acceptable trade-off for developer productivity or a sign of poor craftsmanship.

pushback

Some point out that comparing a tightly scoped 1980s compiler to modern tools with extensive features, internationalization, and safety checks is misleading.

best comment by jll29 ↗

While some comparisons may look silly, the fact that the touch command's binary should exceed Turbo Pascal is insane: the command basically creates an empty file or updates the file change date if the file already exists, not more.

There's no reason (other than laziness) why that should take more than 2k.

On the other hand, a lot of boilerplace code is repeated in each and every command. When I first learned as a kid about UNIX commands being ordinary programs, I was intrigued (there is nothing "special" about them, you can also write your own!) but also shocked about the overhead compared …

It drills down into a specific example from the list, arguing that even simple modern CLI tools carry unjustified architectural overhead.

Generated by an LLM from the article and thread. Check the sources before relying on it.