Turbo Pascal 7 was so fast it helped Windows win the desktop

They don't make 'em like that any more: Borland Turbo Pascal 7

Turbo Pascal 7 was so fast it helped Windows win the desktop

Kevin Boone recalls building medical imaging software with Borland Turbo Pascal 7 under Windows 3.1. A compiler born on CP/M, optimized in assembly to run in 32kB of RAM, flew once given megabytes and a hard disk, and its Object Windows Library wrapped the C API in clean objects before Microsoft managed anything comparable. Boone argues TP helped Windows dominate desktops, and that losing such deep engineering skill is something we may yet regret.

If there had been a 'Turbo Pascal for Linux' in the early 90s, then we might all be running Linux on our desktops today.
  1. bdamm

    Turbo Pascal was a glorious tool for my imaginative 15-year-old brain. The first programs I sold were all written in Turbo Pascal. I had the Turbo Pascal reference books near my bedside, and I wish I still had them because they were dog-eared, post-it noted, margin-scribbled, and it's kind of strange but those books guided my future almost more than any other written text.

    One distinct memory stands out. I could not wrap my mind around the Object-Oriented extensions on Pascal. I read, re-read, and re-re-read the section of the book describing what polymorhpism is and how it worked, probably at least a dozen times. Somehow it seemed really important and I kept coming back to it. I worked the examples. And then one day the ah-hah moment arrived. I remember it felt like a shock, why it was useful and what I could do with it. I promptly used my knowledge to write a new game using OOP principles to guide the rudimentary "characters" of various geometric shapes at the core of the game.

    Fun times, and very formative to me!

  2. throwaway81523

    Required reading, "Things Turbo Pascal is Smaller Than", https://prog21.dadgum.com/116.html

    And: "A Personal History of Compilation Speed, Part 2" https://prog21.dadgum.com/47.html

  3. mapontosevenths

    > "That almost nobody has the skills these days to implement something like TP is something we could eventually come to regret – or, rather, our grandchildren could. Software development is becoming a semi-skilled industry, and I doubt that the rise of AI will entirely compensate for this."

    I agree, but AI also there is hope!

    For many years I've worried about the ever-growing depth of abstraction in computing. There are few alive now who actually understand all of the layers on abstraction involved in modern computing, and who can debug the truly strange edge case bugs and vulnerabilities introduced by the interoperation of these many complex layers.

    For a time I imagined it to be an unsolvable problem, and that there would always be only a special class of neurodivergent hyper-specialists who still mostly had to work in large teams to even come close to understanding a stack in full. We're reaching the point where a single human lifespan just isn't enough to learn it all, even for those of us with what Dilbert called "The Knack". By the time you're proficient in all of it - you're dead.

    Now there is a new kind of intelligence. One that CAN fit it all in a single mind, and one that will outlive us all and continue to learn long after our meat has gone bad.

    As long as the AI's stay aligned, and we find ways to build them more efficiently there's a non-zero chance that they actually make it all better instead of worse. Genuinely long-term planning and the ability to TRULY grasp […]

  4. orthogonal_cube

    Man, I haven’t seen Turbo Pascal since high school. We were lucky enough to have a CompSci class taught by our Stats teacher.

    He offered three courses. CompSci 1 used Turbo Pascal and Delphi. CompSci 2 used C++ and Java. CompSci 3 used Microsoft Turbo Assembly and a language of the student’s choice.

    We had to write our code and save them to floppy discs for submission since the lab systems had DeepFreeze installed on Win95, so any local storage wouldn’t persist.

  5. lgl

    This hits home. Turbo Pascal was the thing (although I've barely noticed at the time) where I learned actual programming, as we know now.

    I had played a lot with the Spectrum (a Sinclair zx spectrum 128k) and its BASIC interpreter but that was mostly copying from magazines and changing some parameters. And BASIC is weird :)

    A few years later in school in the 90s, Pascal was "the" language that most people learned the basics in, at least in my country.

    Unknowingly I sort of absorbed all that and it only started making sense when a few years later I decided to get into actual programming with perl and eggdrop bots and plugins or whatever they were called.

    Damn, the 90s, IRC and Quake were awesome!

  6. analog31

    Fun anecdote: When I was in college, my dad read an article in the Wall Street Journal about Turbo Pascal, so he bought me a copy for my birthday. That was version 1. I stuck with TP through grad school and a little bit beyond. It seemed like there wasn't anything it couldn't do. Some of my hardware hacking adventures even required inline assembly. Some of the version bumps were really timely, such as a new compiler that created stand-alone executables. I was extremely lucky that the original TP ran on my non-PC-compatible MS-DOS machine, a Sanyo MBC550.

    My graduate advisor had Microsoft FORTRAN, and I tried it out. It was a monstrosity. The compiler and linker had to be on separate floppies, and took eons. My advisor admitted that he had largely switched to BASIC.

  7. a4isms

    My very first professional gig, in the mid-1980s, was extending a classified ads application that was used by telephone operators in teh days when you could call a newspaper or magazine and dictate your ad over the phone.

    It was written in TurboPascal and saved its data with BTrieve. The whole thing ran under MP/M (a CP/M variant that had the concurrency support we needed) on a closely coupled network: A box with an S-100 bus where each user had their own system-on-a-card with an 8088 CPU. Our application wasn't client-server, each user had their own app and we had written our own code for network-based cooperative multitasking, as we called it in those early days.

    Fifteen years later I was on a team that created a concurrency linter for Java. It inspected the behaviour of running J2EE servers and flagged runtime anti-patterns as concurrency smells to be investigated.

    Everything felt so familiar, despite all of the tooling being complete different!

  8. enneff

    It was with Turbo Pascal that I started to code in earnest as a child. I am so grateful for the authors and for the friend from school who gave me a copy, and taught me Pascal.

    A cool thing about TP was that it had simple and convenient support for inline assembly, which was the gateway drug for me learning more low level programming.

    It’s really sad that Delphi didn’t take off like VB. It was a superior environment in every way. Faster programs, better UI, much better language, and I would argue easier to use (in VB you spent a lot of time working around the limitations of BASIC in my experience). Hard to compete with Microsoft though.

    I didn’t realise at the time that, with the advent of web apps (and my interest in them), that chapter of my life would be the last time I would work with such a clean, integrated dev environment.

More from this day

2026-11-07