Things That Turbo Pascal Is Smaller Than (2011) prog21.dadgum.com · 195 points ·...
HN Best 30 @best30
Things That Turbo Pascal Is Smaller Than (2011) prog21.dadgum.com · 195 points · 100 comments · HN thread
TL;DR James Hague's 2011 post notes that the entire Turbo Pascal 3.02 executable (compiler plus IDE) is 39,731 bytes, then lists modern files it is smaller than, such as minified jQuery 1.6, the yahoo.com home page, and the Wikipedia C++ page. The thread mostly argues about whether such comparisons mean anything, whether modern software bloat is justified, and why Pascal faded.
- Turbo Pascal 3.02, including compiler and IDE, was 39,731 bytes, released for MS-DOS in 1986.
- Turbo Pascal was described as a full Pascal compiler with extensions for commercial use, tightly integrated with an editor, and much faster than Microsoft's compilers.
- Comparisons include minified jQuery 1.6 (90,518 bytes), the yahoo.com home page (219,583 bytes), and the touch command on OS X Lion (44,016 bytes).
- The post is a size comparison, not an analysis; it makes no claim about why modern files are larger.
Discussion The thread splits into several strands: a tangent on J++, C# and Anders Hejlsberg's career; a debate over whether modern software bloat buys developer productivity, safety and features or is simply waste; a detailed look at why GNU touch is far larger than its function suggests; and a long discussion of why Pascal faded (no standard evolution, Borland's decline, the web). The mood is argumentative but mostly technical, with some nostalgia and a few commenters calling the comparisons pointless or unfair.
- Modern bloat is largely justified by features, safety and portability (many): Commenters argue that a modern binary carries dynamic loading, startup code, locale and date parsing, and security hardening that a 1986 DOS program never needed. The touch example is cited as evidence that the extra size pays for real functionality.
- Software has gotten bloated and slow without good reason (many): Several people argue that developer convenience and abstraction layers have added waste, citing Carmack's remark about instantaneous text editing and the lag and dropped keystrokes in modern UIs compared with Windows 98.
- The comparison is meaningless or unfair (some): Some say comparing bytes across eras ignores context, such as zlib.h being mostly comments or 1980s software having to fit on floppies. They see the post as a cheap comparison rather than an insight.
- Pascal faded because it lacked a standard and was tied to Borland and Windows (some): The most common explanation for Pascal's decline: multiple closed implementations, no collective standard evolution, and a desktop-focused ecosystem that missed the web. Others note Free Pascal, Lazarus, Delphi and IEC 61131 Structured Text are still alive.
- Praise for Anders Hejlsberg and the Turbo Pascal lineage (a few): Some commenters admire Hejlsberg's career from Turbo Pascal through Delphi and C#, while others add historical detail about J++ and the Sun lawsuit that shaped C#.
Links from the comments
- Archived Microsoft Visual J++ documentation, cited for the J++ to C# history.
- gnulib date parser source, used to show that touch embeds date-string parsing code.
- Archived John Carmack 2005 update with his remark on text editing latency.
- A Turbo Vision-style terminal UI for Claude Code sessions, shared as a tangent.
#retrocomputing #turboPascal #softwareBloat #compilers #programmingLanguages