Was so much fun writing it. The interface was fun to write. You could use it to tell apart isosceles triangles from equilateral triangles, for example.
The machine I used only had two floppy drives and still I recall TP was fast as a Ferrari.
101–110 of 271 posts
Was so much fun writing it. The interface was fun to write. You could use it to tell apart isosceles triangles from equilateral triangles, for example.
The machine I used only had two floppy drives and still I recall TP was fast as a Ferrari.
In college I used a student loan to buy my first Apple computer, the Macintosh Plus. By chance there was a classified ad in the college newspaper for a copy of Turbo Pascal for the Mac — some professor was selling it for like $40 or something. I snagged it.
It had the manual, thankfully, but very simply tools for Macintosh development. No ResEdit, but the odd R-Maker app that expected you to create a Macintosh resource as a text file and then run it through the tool to create the resource fork.
My first few apps were Turbo Pascal implementations of algorithms from the Computer Recreations column of Scientific American (thankfully requiring little UI — a window and a few buttons typically).
Later I would learn of and move on to THINK Pascal — a much more Mac-centric IDE. Later still I would take the leap to THINK C....
But I will always look back on Turbo Pascal and remember it with fondness. It was a time when I was entering a wild new world and Turbo Pascal was there to hold the door open for me.
see also, "things that turbo pascal is smaller than" by james hague: https://prog21.dadgum.com/116.html
> " The entire Turbo Pascal 3.02 executable--the compiler and IDE--was 39,731 bytes " On my computer now, it's smaller than: - License.txt which comes with "TurboPascal (with DOSBox)" (42,044 bytes) - sqlanywhere.vim, syntax highlighting file for the SQL dialect of SQL Anywhere (41,929 bytes) - parse.py, the URL parser in Python's urllib (42,057 bytes) - doc_testing.html the Rust By Example section on writing tests i…
It's also less than half the size of Xcode's PNG-compressed Retina application icon (83,056 bytes).
[1] This includes such gems as cat (40,848 bytes), tac (40,808 bytes), and tee (40,968 bytes).
[2] Where even /usr/bin/true weighs in at an astonishing 100,512 bytes, despite its entire text section disassembling to
pushq %rbp
movq %rsp, %rbp
xorl %eax, %eax
popq %rbp
retqI started with TP 3.0 in high school. It compiled faster than any other Pascal. It uses the WordStar editor. My teacher called it the cat's pajamas.
TP 2.x and 3.x had integrated editors that were functionally similar(inspired by) to WordStar, but were not wordstar, and using an external editor was a pain in the ass.
I remember it looking like this: https://imgur.com/EuOVL8c
It's hard to overstate just how much faster Turbo Pascal was than its competitors. So fast that it was hard to believe it wasn't cheating in some way. And then the resulting program was faster too. A tour-de-force of its day, and it deserved all the acclimation that it got.
see also, "things that turbo pascal is smaller than" by james hague: https://prog21.dadgum.com/116.html