Skip to content

Comment on Cello – Higher Level Programming in Cparent

Comments

They used more than some assembly. Andy Hertzfeld:

"But most of the Lisa code was written in the Pascal programming language. Since the Macintosh had much tighter memory constraints, we needed to write most of our system-oriented code in the most efficient way possible, using the native language of the processor, 68000 assembly language. Even so, we could still use Lisa code by hand translating the Pascal into assembly language.

"We directly incorporated Quickdraw, Bill Atkinson's amazing bit-mapped graphics package, since it was already written mostly in assembly language. We also used the Lisa window and menu managers, which we recoded in assembly language from Bill's original Pascal, reducing the code size by a factor of two or so. Bill's lovely Pascal code was a model of clarity, so that was relatively easy to accomplish."

Also, about half the LOC in MacPaint were assembly.

Basic, Forth, C and Pascal were the Ruby and Python of the 80's home computers, both in compiler code quality and memory usage.

Of course anything related to graphics programming would be written in pure Assembly code, so excuse me if I misused "Some".

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.