比 Turbo Pascal 更大的事物 (2011)
Things That Turbo Pascal Is Smaller Than (2011)

原始链接: https://prog21.dadgum.com/116.html

Turbo Pascal 3.02 for MS-DOS,发布于1986年9月,是一个紧凑、快速的集成 Pascal 编译器和 IDE,总计 39,731 字节。它包含实用的商业扩展,并在构建速度上优于 Microsoft 编译器。截至 2011 年 10 月 30 日,这整个可执行文件比许多现代文件和页面还小,包括压缩版 jQuery 1.6、Yahoo 首页、一张 iPhone 图片、zlib.h、OS X 的 touch 命令、vim 快速参考 PDF、Erlang 解析器代码和 Wikipedia C++ 页面。

黑客新闻 新的 | 过去的 | 评论 | 提问 | 展示 | 工作 | 提交 登录 Turbo Pascal 比哪些东西更小 (2011) (dadgum.com) 11 分,由 ksec 发布,46 分钟前 | 隐藏 | 过去 | 收藏 | 1 条评论 帮助 hawkice 16 分钟前 [–] 鉴于开发速度已大幅提升,我很想看看一个从基本原理出发、简单而高效的操作系统和编程系统会是什么样。或者人们尝试效率与简洁的截然不同版本,例如一个使用现有久经考验的沙盒执行环境(如 v8)来保证用户空间安全/隔离的操作系统。 从根本上说,许多低效曾被用来证明开发者生产力,而我不确定这是否仍然合理,而具有清晰抽象边界的大型项目的成本已大幅下降。 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

Turbo Pascal 3 for MS-DOS was released in September 1986. Being version 3, there were lesser releases prior to it and flashier ones after, but 3 was a solid representation of the Turbo Pascal experience: a full Pascal compiler, including extensions that it made it practical for commercial use, tightly integrated with an editor. And the whole thing was lightning fast, orders of magnitude faster at building projects than Microsoft's compilers.

The entire Turbo Pascal 3.02 executable--the compiler and IDE--was 39,731 bytes. How does that stack up in 2011 terms? Here are some things that Turbo Pascal is smaller than, as of October 30, 2011:

The minified version of jquery 1.6 (90,518 bytes).

The yahoo.com home page (219,583 bytes).

The image of the white iPhone 4S at apple.com (190,157 bytes).

zlib.h in the Mac OS X Lion SDK (80,504 bytes).

The touch command under OS X Lion (44,016 bytes).

Various vim quick reference cards as PDFs. (This one is 47,508 bytes.)

The compiled code for the Erlang R14B02 parser (erl_parse.beam, 286,324 bytes).

The Wikipedia page for C++ (214,251 bytes).

(If you liked this, you might like A Personal History of Compilation Speed.)

permalink October 30, 2011

联系我们 contact @ memedata.com