Hacker News new | ask | show | jobs
by alwillis 34 days ago
If I wanted to vibe code something like Photoshop, I would start with the source code for version 1.0 [1].

It’s written mostly in very readable Pascal with some 68000 assembly.

For those not familiar (or not old as me), Pascal was popular in 80s. The syntax is clean and is strongly typed, which I understand LLMs like.

LLMs are good at converting programming languages; it probably wouldn’t be that difficult to convert it to Swift, Rust, etc.

[1]: https://computerhistory.org/blog/adobe-photoshop-source-code...

1 comments

Thanks for linking this. My first "serious" program was an image editor I wrote in Turbo Pascal (and a little x86 assembly) in my high school computer science class. Of course, it was supposed to be an image editor for the game I was sure I was going to write for my final class project, but nobody was teaching kids how to realistically scope things.