历史与人物computerhistory.org
Adobe Photoshop 1.0.1 源代码
Adobe Photoshop 1.0.1 Source Code (2013)
2013 — 2018,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这个页面是计算机历史博物馆公开的 Adobe Photoshop 1.0.1 源代码,早期版本主要为 Macintosh 编写、使用 Pascal。它让读者直接看到这款著名图像软件最初的样子,也引出关于早期 Mac 开发工具和语言演进的讨论。
为什么经久不衰:它让今天的人能直接审视一款定义行业的软件在 1.0 时代的实现,并理解早期 Mac 软件工程与 Pascal 生态,所以多年后仍值得读。
HN 评论精选
原标题点出关键:早期 Photoshop 用 Pascal 写成,且成功跨语言重写。
原标题“Adobe Photoshop 是用 Pascal 写的”被改了,很可惜——这个故事重要的地方在于,最流行的软件之一最早的商业版本是用今天许多程序员看不上的语言写的。而且它说明,你可以先用一种语言成功写出应用,再用另一种语言重写,同时保持版本之间的平滑延续。
dvfjsdhgfv查看英文原文
The original title "Adobe Photoshop was written in Pascal" has been changed, and it's a pity - what is important in this story is the fact that the first commercial versions of one of the most popular pieces of software were written in a language frowned upon by many programmers today. Moreover, it shows that you can successfully write the app in one language, then rewrite it in something else while maintaining a smooth continuity between versions.
早期 Mac 开发普遍用 Pascal;Turbo Pascal 等工具会把源码 token 化,单遍编译器和 MetroWerks 工具链令人怀念。
那时候所有东西都是用 Pascal 写的,不只是 Photoshop。在 Lightspeed C(后来变成 THINK,再后来是 Symantec C)出现之前,我作为专业 Mac 开发者写了好几年 Pascal……之后就没再回头。MPW 相当棒,虽然慢得要命——Turbo Pascal 好用得多——唯一的问题是它会把源代码“token 化”,所以不再是纯文本了……我仍然怀念这些“单遍”编译器;我觉得 MetroWerks 工具链是巅峰(它长期保留 Pascal 插件!),那是我心目中最好的编译器/链接器/调试器工具集。
buserror查看英文原文
everything was written in pascal back then, not just Photoshop. I spent years writing pascal as a professional mac developer before Lightspeed C (which became THINK, then Symantec C later on) appeared... Then I never looked back. MPW (Macintosh Programmer's workshop) was pretty awesome, if slow as hell -- Turbo Pascal was a lot better to work with -- the only issue is that it 'tokenized' your source code, so it wasn't plaint text anymore... I still miss these 'one pass' compilers; I think it peaked with MetroWerks toolchain (which kept a Pascal plugin for a long time!) that was IMO the best compiler/linker/debugger toolset ever made.
John Knoll 后来成为 ILM 知名视效总监,Photoshop 最初只是他兄弟发现有用的工具,并非产品。
他的兄弟 John 在工业光魔(ILM)工作,发现它很适合编辑照片,但它本来并不是要做成产品。John Knoll 这个名字对会看完片尾字幕的人来说可能不陌生;他是 ILM 在《Generations》《First Contact》、所有《星球大战》前传、一些《哈利·波特》和《加勒比海盗》电影中的视效总监,导演谈特效的幕后采访里经常提到他。
sdrothrock查看英文原文
> His brother John, working at the movie visual effects company Industrial Light & Magic, found it useful for editing photos, but it wasn’t intended to be a product. John Knoll is a name that may be familiar to people who stick around after the credits; he was ILM's supervisor on Generations and First Contact, all the Star Wars prequels, some Harry Potter movies, as well as some of the Pirates of the Caribbean movies. His name comes up a lot in behind-the-scenes interviews etc. with directors about effects.
早期界面已非常接近人们对 Photoshop 的固有印象,多年变化不大。
真正让我震惊的是,界面这些年来变化相对这么小……不是要显得迟钝,但它看起来就是你预期中 Photoshop 该有的样子。
jgoney查看英文原文
What really blows me away is how comparatively little the interface has changed over the years...not to sound dense, but it looks exactly like you'd expect Photoshop to look.
历次讨论
同类还值得读
开发者无薪坚持完成 Mac 图形计算器:一个秘密项目的故事
Dev stays without pay to finish Mac Graphing Calculator as skunkworks project
苹果 Mac 图形计算器(Graphing Calculator)开发者的亲述:在项目被砍后,几位工程师在没有报酬、没有正式授权的情况下,以“地下项目”方式偷偷留在公司把软件做完…
历史与人物上首页 6 次 · 2009–2022pacifict.com理查德·费曼与 Connection Machine
Richard Feynman and the Connection Machine
长文回忆费曼晚年参与 Connection Machine 并行计算机项目的经历:他分析路由器、用自创的并行 Basic 编写 QCD 程序,也涉足细胞自动机等主题。
历史与人物上首页 5 次 · 2010–2021longnow.org编辑精选负 2000 行代码
-2000 Lines of Code
folklore.org 上 Andy Hertzfeld 记录的一则苹果 Macintosh 开发轶事:Bill Atkinson 被问到写了多少行代码时,回答“-2000 行…
历史与人物上首页 4 次 · 2014–2022folklore.org编辑精选Dennis Ritchie 的第一版 C 编译器(约 1972 年)
Dennis Ritchie’s first C compiler (c. 1972)
这个 GitHub 仓库保存了 Dennis Ritchie 约 1972 年编写的最早 C 编译器源码,是 C 语言和 Unix 早期历史的一手材料。
历史与人物上首页 4 次 · 2013–2025github.com一位破解赛马密码的赌徒
A Gambler Who Cracked the Horse-Racing Code (2018)
彭博社 2018 年的长篇特写,讲述数学家 Bill Benter 如何用统计模型和算法在赛马博彩中持续盈利、累计赢得近十亿美元的故事。
历史与人物上首页 4 次 · 2018–2024bloomberg.com