But for all intents and purposes Pascal is a dead language, used only by a very few;
Well, that's only because people keep prematurely talking it dead...
not even enough to make a blip on the Language Popularity graphs you see on some sites.
Sorry, but that doesn't mean squat. It rather proves my point that nobody is really "programming" anymore these days.
Those popularity lists are not a true picture of what is really used, for real application purposes...
The most common reference these days is is poplang.com and in their list of the top 20, they have both Pascal and Delphi listed, which for all practical purposes, is the same.
If you add those two up and if you then take out those languages that aren't "general purpose", but web specific for example, (like PHP, Javascript, Actionscript), or entries like "SQL" or "Shell", Pascal/Delphi is all the sudden right there in the top 5-6, together with C, C++, and Java.
And a lot of those languages that show up in the "normalized" data, are only there because of all the hype around them, but nobody is actually doing anything really usable/usefull/generally available with them, things like Haskell, Erlang, Lua or D...
Otherwise, they would barely be a blip on the radar/charts.
In general, there is no better way to lie and produce perception than with statistics...
In real world life, there is far more real, everyday code written still in Fortran, COBOL and Ada then in all those exotics combined. But that's something that doesn't show up in those "popularity" lists...
I really miss Pascal... Hardly a day goes by when I don't find myself wishing there were an up to date 32/64 bit compiler and library I could plug into my system and get re-acquainted. I've tried Free Pascal and have no problem using it for console apps, but the windows units are a massive dog's breakfast and whoever created them should be shot. What is needed is a set of windows units (32 and 64 bit) with a one to one relationship between Pascal units and Windows headers... If it's out there, I haven't found it.
Sorry, I absolutely don't see this. And I would not even remotely bother with any "Windows by hand" programming using any Windows units directly, one of the reasons why I dont' bother much to do non-console stuff in Pelle's C.
I rather create my forms for Windows GUI programs in the Delphi forms editor or for Windows/Mac OS X/Linux in Lazarus for FreePascal instead. So far, I barely had a need to deal with anything of the Windows API for example directly, only for a FTP client software that I started, but then also only as this is a part of this project that is decisively different in those three OS anyway.
The forms source can then be (for the most part) transferred from one OS to the other and might need some slight adjustments to fit the common style of the target system, but how this is actually handled "under the hood", I could give a rodent's posterior...
Ralf