Live data from Hacker News

Turbo Pascal Turns 40

blog.marcocantu.com

11–20 of 271 posts

Re: Turbo Pascal Turns 40

#11
I never used the original, but I started with a 2.0 disk I got from a friends parent who was taking computer classes in college.

https://www.abandonwaredos.com/abandonware-screenshot.php?gi...

It didn't have the trademark Borland IDE yet, but along with this Pascal book from the library, I had hours of fun.

Computer Programming in Pascal the Easy Way https://a.co/d/3uPpxAw

Re: Turbo Pascal Turns 40

#13
Free Pascal still has a look-a-like of the original TP IDE! But that code is bitrotting by their own admission (it still relies extensively on obsolete quirks of the original MS-DOS platform) and it's sad that we don't have a look-a-like version that can work as a general editor in the terminal (like neovim or emacs) and integrate with modern IDE-oriented facilities like the LSP, tree-sitter parsers or the debug adapter protocol. That could even be a game changer for editing code remotely from SSH/terminal connections.

Re: Turbo Pascal Turns 40

#16

25 seconds to compile it? How come ?

Niklaus Wirth (Pascal inventor) had the rule that compiler speed must never regress. So if you add an optimization (which means the compiler has to do more work), the optimization must "pay for itself" and make the compiler faster.

That philosophy probably seeped into Turbo Pascal to some degree.

Re: Turbo Pascal Turns 40

#19
post #15

I first used Turbo Pascal in a high school programming class. I remember our teacher saying: "Make it work first, then you can make it look pretty."

It's being used to this day (or until very recently, at least) in some countries, generally running under dosbox because DOS software can no longer run natively in modern PC OS's.
Post reply on HN