News for hackers. Stuff that matters.
Re:Things That Turbo Pascal Is Smaller Than (2011) by sroerick on Sunday November 15, 2026 @11:05AM (#50507985)
Why did Pascal basically die completely? It seems like a hugely influential language and was very loved, but there are plenty of other languages which still seem to have a lot of legacy code. Where is Pascal?
Re:Things That Turbo Pascal Is Smaller Than (2011) by coliveira on Sunday November 15, 2026 @11:13AM (#50508049)
The main problem with Pascal was not having a standard at a time when having a standard was important for adoption. There were several successful implementations like Borland's, and the version used in the Macintosh, but being closed products they never talked to each other.
Re:Things That Turbo Pascal Is Smaller Than (2011) by sehugg on Sunday November 15, 2026 @11:18AM (#50508093)
Carmack developing DOOM on a NeXT and porting it to PC was a very good advertisement for C.
Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @01:20PM (#50509283)
The tooling was done in Objective-C.
Re:Things That Turbo Pascal Is Smaller Than (2011) by twoodfin on Sunday November 15, 2026 @12:45PM (#50508945)
Not just having a standard but being able to collectively evolve a standard.

In the absence of that, Pascal’s creators and commercializers invented follow-on languages, including the most successful thread via Hejlsberg as we’re discussing here: Object Pascal -> Delphi -> C#/.NET—with a brief detour to J++, which I don’t know enough about to understand if it belongs in this sequence.

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @01:19PM (#50509279)
Outside Borland and Apple, people tend to forget that already in 1976, Niklaus Wirth came up with Modula-2, exactly to fix all the shortcomings from a language originally designed for teaching, with one properly designed for systems programing from the start.

As for your sequence, from someone that was around back then, .NET and C++ only exist as you know it thanks to Sun's lawsuit regarding Java language and runtime extensions introduced in J++.

Then an internal research language originally named Cool, became C#, the language extensions in J++ were made into C# features (events, J/Direct, COM interop), Windows Foundation Classes became Windows Forms, and J# was released in .NET 1.0 as transiton technology.

Had it not been for the lawsuit, Ext-VOS (.NET codename) would have been released with J++ instead.

https://web.archive.org/web/20190111203733/https://blogs.msd...

Follow the linked paper for Ext-VOS, aka COM+ Runtime, aka .NET.

Microsoft would revisit this COM+ Runtime a decade later with WinRT,

https://arstechnica.com/features/2012/10/windows-8-and-winrt...

Re:Things That Turbo Pascal Is Smaller Than (2011) by twoodfin on Sunday November 15, 2026 @05:17PM (#50511427)
Amazing, thanks! I was also there for the commercial and legal history of J++ but was unsure how much J++ incorporated what would become “Cool” ideas.

Can’t wait to read the VOS paper.

Re:Things That Turbo Pascal Is Smaller Than (2011) by nl on Monday November 16, 2026 @03:53AM (#50515477)
There's also the Ada branch if we are talking about Modula-2.

Not Pascal but it comes from that tree.

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @05:13AM (#50515956)
Sure, but the point was about how everyone complains about the original Pascal, and the related dialects to fix its shortcomings, while ignoring that shortly thereafter its creator solved all of them, by designed another programming language actually targeted to large scale software development and systems programming from the start.

Given Niklaus Wirth pursue for minimalist systems programming design since Oberon, I doubt he was a big fan of Ada83, let alone Ada2022.

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @01:12PM (#50509210)
It certainly had a standard, two actually, however no one cared because Turbo Pascal was more relevant, and Modula-2 was designed to fix Pascal's shortcomings, which also has a ISO standard.

So it wasn't for lack of standard per se.

Re:Things That Turbo Pascal Is Smaller Than (2011) by SoftTalker on Sunday November 15, 2026 @11:15AM (#50508070)
Lua, Go, and Nim have some Pascal roots, according to https://en.wikipedia.org/wiki/Generational_list_of_programmi...

Though Borland had some commercial success, I remember Pascal mainly as a teaching language.

Re:Things That Turbo Pascal Is Smaller Than (2011) by cwnyth on Sunday November 15, 2026 @11:42AM (#50508320)
Odin borrows from Pascal as well.
Re:Things That Turbo Pascal Is Smaller Than (2011) by jll29 on Sunday November 15, 2026 @12:01PM (#50508501)
Julia is also heavily influenced by Pascal syntax.
Re:Things That Turbo Pascal Is Smaller Than (2011) by SoftTalker on Sunday November 15, 2026 @01:46PM (#50509508)
Can't believe I forgot PL/SQL, as I used that heavily for years.

Ada also was widely used in aerospace/military applications, though not sure it's still used for anything new today.

Re:Things That Turbo Pascal Is Smaller Than (2011) by camtarn on Sunday November 15, 2026 @07:26PM (#50512479)
IEC61131 Structured Text, used to program PLCs and other industrial automation systems, is also based on Pascal. Very niche, but definitely still alive.
Re:Things That Turbo Pascal Is Smaller Than (2011) by anthk on Sunday November 15, 2026 @11:17AM (#50508082)
Free Pascal/Lazarus it's rocking nice tools such as Peazip and other stuff like Carte Du Ciel and some RAD tools in the enterprise. On the niche geeky world, there's T3X at https://t3x.org which is semi-Pascal like.
Re:Things That Turbo Pascal Is Smaller Than (2011) by amelius on Sunday November 15, 2026 @11:56AM (#50508447)
Because it didn't have nul-terminated strings.
Re:Things That Turbo Pascal Is Smaller Than (2011) by phba on Sunday November 15, 2026 @03:31PM (#50510390)
Not sure if you are being sarcastic. Pascal strings are first class citizens, so it's trivial to add null-termination. Delphi actually does this to allow typecasting.

C, for example, doesn't have strings. It has pointers to memory that might contain characters and, if you are lucky and the stars are aligned, a zero to mark the end. I'll never understand how C strings were accepted as a string representation and not the mad source of bugs and insanity that they are.

Re:Things That Turbo Pascal Is Smaller Than (2011) by tzot on Sunday November 15, 2026 @04:05PM (#50510745)
> I'll never understand how C strings were accepted as a string representation

1972 was definitely not a good year for C standardization bodies. I blame that guy Ritchie and his audacity to hack a language on a whim. Even his GitHub page is empty (or misattributed).

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @02:56AM (#50515162)
UNIX source code being freely available against big bucks for the other systems kind of helped.

UNIX and C would never had taken off as they did, had they been sold just like VAX/VMS or MVS.

Re:Things That Turbo Pascal Is Smaller Than (2011) by virgulino on Sunday November 15, 2026 @12:34PM (#50508844)
Kaaaaaaaaaaaahhhnnn!!!
Re:Things That Turbo Pascal Is Smaller Than (2011) by regularfry on Sunday November 15, 2026 @12:54PM (#50509031)
In a way it didn't, the Lazarus project is the current most well-known incarnation. But that itself tells a story: it's for desktop applications, mainly. It never really had a "here's how you do a web app" story around it. Really it could have been go-lang before go-lang and I'm not sure why it wasn't other than that it wouldn't have been controllable by the folks at Google.
Re:Things That Turbo Pascal Is Smaller Than (2011) by achikin on Sunday November 15, 2026 @02:45PM (#50509998)
Because web was cross platform, didn’t need any “installation”, and had far better devtools included than any tech that days.
Re:Things That Turbo Pascal Is Smaller Than (2011) by kragen on Sunday November 15, 2026 @05:43PM (#50511663)
Not in 02002. In 02002 your JS devtools were that the browser crashed when you had a bug in your JS, so you would have to binary-search your recent changes to figure out which line of JS was crashing it, and you could evaluate expressions by typing javascript:(void)alert(f()) in the URL bar. No browser console, no web inspector, and the only portable DOM was image rollovers and form field values. If you wanted to generate document content in JS the only way that was portable to Netscape Navigator 4 was document.write().

I think we didn't even have bookmarklets at that point—the browsers supported them, but we didn't know that.

Re:Things That Turbo Pascal Is Smaller Than (2011) by em3rgent0rdr on Sunday November 15, 2026 @07:31PM (#50512517)
02002 = 2002 A.D. in "Long Now Foundation" speak: https://en.wikipedia.org/wiki/Long_Now_Foundation
Re:Things That Turbo Pascal Is Smaller Than (2011) by speed_spread on Sunday November 15, 2026 @09:28PM (#50513297)
Pascal didn't have a good web story but web devtools were absolutely primitive and IMO still are an absurd mess compared to what Delphi offered.
Re:Things That Turbo Pascal Is Smaller Than (2011) by za_creature on Sunday November 15, 2026 @03:48PM (#50510566)
> the Lazarus project

Hem hem,

https://www.freepascal.org/

Re:Things That Turbo Pascal Is Smaller Than (2011) by regularfry on Sunday November 15, 2026 @06:59PM (#50512263)
Yes, but I'd say that Lazarus is the standard bearer for Pascal the way Delphi was back in the day. It would be the reason someone would pick up the language a lot of the time.
Re:Things That Turbo Pascal Is Smaller Than (2011) by za_creature on Sunday November 15, 2026 @08:16PM (#50512841)
Sure, in the same way Rails is why someone would pick up Ruby.

It's still called RoR though.

Re:Things That Turbo Pascal Is Smaller Than (2011) by drfloyd51 on Sunday November 15, 2026 @08:41PM (#50513011)
Php stupidly easy to write something half-assed. Incredibly difficult to write something correct.

I am going to swipe at most dynamic type-unsafe languages: most developers think they are easy to write. And they are compared to type-safe. But the overall difficulty of actually maintaining a project over time and over a revolving door of coders far exceeds the difficulty of using a type-safe language to begin with.

The compiler is your friend. All the compile time error messages are runtime errors you don’t have to look for.

I get why PHP was adopted. A bunch of new coders on the web reaching for an “easy tool”. Not experienced enough to feel the slow encroachment of suck embracing them. It’s really kind of sad. We could have had better languages. Pascal in both the back and front end.

Re:Things That Turbo Pascal Is Smaller Than (2011) by za_creature on Monday November 16, 2026 @02:38AM (#50515060)
I hope we don't make the same mistake twice with LLMs.
Re:Things That Turbo Pascal Is Smaller Than (2011) by marcle on Monday November 16, 2026 @04:57AM (#50515853)
I recently ported an old Delphi application to Lazarus (https://github.com/mclements/prevent). As my first experience with Delphi and Pascal, I was impressed with the smooth development experience (expected), the comparative richness of the libraries (unexpected), and the speed of the application (expected).

For a historical perspective, the original Delphi code was written by Jan Barendregt. After his death, I was the only person to have his source code -- where most of the comments are in Dutch:).

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @01:10PM (#50509188)
It didn't, despite all its management failures, several companies are still buying into Delphi (Object Pascal evolved from Turbo Pascal/Apple's Object Pascal), and there is at least an yearly conference in Germany.

https://entwickler-konferenz.de/en

Then there is still FreePascal, Mikroe Pascal and RemObjects Pascal to chose from.

Re:Things That Turbo Pascal Is Smaller Than (2011) by Rochus on Sunday November 15, 2026 @01:52PM (#50509541)
> Then there is still FreePascal, Mikroe Pascal and RemObjects Pascal to chose from.

And now also Micron, which re-added Pascal features to Oberon (https://github.com/rochus-keller/micron/).

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @01:54PM (#50509567)
Ah, yeah, have to play with it sometime. TODO list is rather long. :)
Re:Things That Turbo Pascal Is Smaller Than (2011) by Rochus on Sunday November 15, 2026 @01:58PM (#50509603)
A project like this never gets finished.
Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Sunday November 15, 2026 @02:07PM (#50509679)
Sorry for the misunderstanding, I meant my own TODO list of stuff to check out.

The project is rather cool.

Re:Things That Turbo Pascal Is Smaller Than (2011) by AnimalMuppet on Sunday November 15, 2026 @02:21PM (#50509792)
And that project (cool stuff to check out) never gets finished, because there's always more cool stuff.
Re:Things That Turbo Pascal Is Smaller Than (2011) by linker3000 on Sunday November 15, 2026 @04:40PM (#50511095)
Some of us are still using Turbo Pascal for CP/M on our Z80 systems. OK, a bit niche.
Re:Things That Turbo Pascal Is Smaller Than (2011) by kragen on Sunday November 15, 2026 @05:43PM (#50511668)
That sounds like fun. What have you written lately?
Re:Things That Turbo Pascal Is Smaller Than (2011) by MichaelRo on Sunday November 15, 2026 @01:24PM (#50509320)
Went the way of the dinosaurs. I learned about pointers and memory on Hi-Soft Pascal on a ZX Spectrum and from this book: https://www.okazii.ro/limbajul-pascal-corina-corici-dorin-ma...

Here's a page from the book I was reading in 1993: https://imgur.com/a/7UWdGgS

For reference, ZX-Spectrum has 48Kb of RAM out of which 8Kb is video memory, so unusable.

Then you have to load the Pascal compiler into the remaining 40k of RAM. Allocate some RAM for stack and environment variables for the editor where you write your program, plus space for the actual program. Then compile your program into the same 40k of space. And run it, using heap and stack memory from which memory space? You guessed right, same 40k.

To recap, on 40k of RAM you had back then: - The Pascal compiler - The Pascal source code in text form - The Pascal executable form in machine code - The Pascal data/memory. Of which, recently in a "tech demo" of automated tests, one colleague said "unfortunately we only have a very limited amount of RAM to be able to do basically anything [that's why the product is a mess with no tests]. Only 32Gb per machine".

One of my first programs was a Tetris clone, because ZX-Spectrum BASIC was slow as molasses. All on top of only having tape for storage so if I fucked up a pointer (I don't think Pascal had the concept of access violation back then but I sure discovered it on my own skin), it would take 5 minutes to load the Pascal compiler + some backup copy of my Tetris game, hopefully not from a month ago and hopefully I remember what I changed. Lots to discover and have "fun" with.

About a year later I did find a compiler for BASIC and it turned the unplayable BASIC code for Tetris I wrote in the 9th grade into a totally playable Tetris game, without the need to learn another language and paradigm (pointers!) but the damage was done. Ignoring a year of databases, in 12th grade of computer science class, I got introduced to C and from then on, here I am, 30 years later, doing C++ in finance for an S&P 500 company.

Re:Things That Turbo Pascal Is Smaller Than (2011) by TacticalCoder on Sunday November 15, 2026 @04:44PM (#50511150)
> Why did Pascal basically die completely?

It morphed into Delphi. The reason that it's not that successful anymore is that it was deeply tied to Windows (even if there were half-arsed Macintosh ports).

And then the Internet taking off happened.

And suddenly you had gigantic companies built on PHP/JavaScript/Linux (like Facebook), on open-source software (Google) and Pascal/Delphi got also attacked by actually portable stuff, like Java, which some of today's biggest companies were built on (like Amazon).

So on one hand Linux and it's myriad of open-source languages and on the other hand Java (which is what it is but it is portable) and then JavaScript in the browser.

Nowadays tens of billions of devices, including many servers powering the entire world, are running Linux. While Pascal/Delphi was that language you'd run on DOS and half-arsedly ported to Windows: not a winning proposition.

Re:Things That Turbo Pascal Is Smaller Than (2011) by atombender on Sunday November 15, 2026 @06:48PM (#50512159)
ObjectPascal's downward spiral was tied to Borland's. When Borland started to struggle, there weren't any other implementations — Borland's was the only viable one.

Evne in its heyday, Borland's Pascal-based products were not that big in the developer tools market. Delphi was a huge hit in Europe, but in the US, they were dwarfed by Microsoft. So Pascal's influence is a bit like that Brian Eno saying (paraphrasing): “Only 30,000 people bought the first Velvet Underground album, but everyone who bought it started a band.”

Part of Borland's fall was betting too much on client/server database stuff at a time when the web was happening. They renamed themselves Inprise and marketed a suite of technologies called MIDAS which nobody remembers anymore. You used Delphi to build database GUIs on top of MIDAS and, say, Oracle. I don't know what they were thinking. They also did a Linux version of Delphi called Kylix which was just using Wine (!).

Even so, I suspect ObjectPascal would have failed eventually. A language tied to a GUI toolkit, without a standard spec, or a cross-platform open source implementation, just couldn't last forever.

I held onto Delphi far after it was evident that it was a dying language. I actually did a ton of my work in the 1990s and early 2000s doing non-GUI stuff in Delphi, including web backends and commercial games, which I suspect was not that common. ObjectPascal actually worked wonderfully as a server-side language. It was a strict, statically typed language, it had modern constructs like classes and threads, it was natively compiled, very fast, had a terrific interactive debugger. In many ways a perfectly fine alternative to C++ at the time, including for game development — I made my own bindings for DirectDraw, DirectSound, and so on.

At the time — say, around 2000 — I didn't find the alternatives compelling. Java was dead slow and didn't offer anything language-wise. Languages like Python were also slow and were not type-safe. But there came a point when Linux had just taken over, and ObjectPascal wasn't a viable option anymore.

Today, the closest thing in spirit to the ObjectPascal language isn't C#, I think, but Go.

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @02:50AM (#50515123)
It really isn't Go, it isn't even as half as rich as Turbo Pascal 7 abilities, let alone everything else Delphi added on top.

They refuse to even have Pascal like enumerations, rather pushing that stupid iota/const boilerplate without any of the nice features that Pascal enumerations had in 1970's.

Rather take C# when given the option.

Re:Things That Turbo Pascal Is Smaller Than (2011) by atombender on Monday November 16, 2026 @06:21AM (#50516345)
In spirit, not in abilities. I think Go inherits many of the qualities of ObjectPascal:

• Extremely fast compilation (even if at the cost of throwing away generations of optimizations)

• Strict, somewhat impoverished type system

• Simple but pragmatic module system (Go has packages, OP has units)

• High focus on integrated tooling (e.g. built-in assembler/linker)

• Safe strings and dynamic arrays built into language

• Built-in reflection and a runtime that often makes use of it

I would argue that if you gave ObjectPascal a C-ish syntax and added built-in concurrency and GC, it would look and feel more like Go than anything else.

Yes, OP has enums and ranges and Java-style interfaces, but those are minor details.

Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @06:40AM (#50516482)
Object Pascal at the time Apple created it as evolution from Clascal, not as when Borlad took it up.

> Extremely fast compilation...

> Safe strings and dynamic arrays built into language

Even Lisp and PL/I have these ones, we really lost focus with C's adoption.

> I would argue that if you gave ObjectPascal a C-ish syntax and added built-in concurrency and GC, it would look and feel more like Go than anything else.

That is C++ Builder.

Re:Things That Turbo Pascal Is Smaller Than (2011) by atombender on Monday November 16, 2026 @06:42AM (#50516495)
Lisp is not natively compiled or statically typed. I think you're missing the point here. C++ Builder is nothing like ObjectPascal or Go.
Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @07:51AM (#50517073)
Lisp surely is compiled, since the early 1970's.

I have used all Borland products starting with Turbo BASIC 1.0, moving into Turbo Pascal 3.0 and then all TP versions, Turbo C++ 1.0 all the way up to the last Turbo C++ for Windows 3.1 version.

Delphi up to Delphi 5, and the accompanying C++ Builder releases.

Go is really nothing like Object Pascal, nor in features, nor in spirit.

It is a mix of Limbo with Oberon-2 method syntax, from UNIX folks that were always quite against Pascal, none of the authors is fond of Object Pascal, and it shows.

Re:Things That Turbo Pascal Is Smaller Than (2011) by atombender on Monday November 16, 2026 @08:16AM (#50517302)
Again, "in spirit". Go and ObjectPascal are both a pragmatic, engineering-focused, imperative/procedural, strict, simplistic, statically typed languages with mutability and no memory safety — the differences are superficial, and the philosophies are very close. There is a huge conceptual and philosophical distance between them and, say, Lisp or PL/I or indeed C++.
Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @09:23AM (#50517889)
Again, only Object Pascal as initially released by Apple.
Re:Things That Turbo Pascal Is Smaller Than (2011) by kristianp on Sunday November 15, 2026 @08:28PM (#50512934)
From about 1992 C and C++ became hugely popular. Microsoft was promoting their C/C++ compiler for example. In '92, MFC was available for Windows 3.1. Apple got on C/C++ the bandwagon too. Not sure of the timing, but the Mac was originally a Pascal development environment, with the toolbox in assembly.
Re:Things That Turbo Pascal Is Smaller Than (2011) by pjmlp on Monday November 16, 2026 @02:52AM (#50515138)
Easy, it was when MPW started to support C++.

https://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Works...

Re:Things That Turbo Pascal Is Smaller Than (2011) by nl on Monday November 16, 2026 @03:47AM (#50515443)
In the 80s Pascal was a serious competitor to C for systems programming as well as applications. Large amounts of the original Mac Finder were in Pascal for example.

The lack of a good web platform has been mentioned but also there wasn't really any Unix heritage and on Windows the .NET platform and C# killed the advantages Delphi had over Visual Basic 6.

I was a Delphi developer for a bit and most of us moved to Java if we wanted to stay if Microsoft platforms.