Pascal and its current applications

Andrioid picture Andrioid · Jun 9, 2009 · Viewed 28.2k times · Source

I studied Turbo Pascal in 1997 and I liked it very much as a language. Everything was very structured and the compiler made sure you did things the right way. I later tried Delphi but never got very interested in it.

Since then I've used a lot of different programming and scripting languages (C, C++, PHP, Python, Perl, TCL) and recently I started thinking of my old Turbo Pascal days.

So, I am wondering for what practical purposes Pascal could be useful today and what API's and frameworks are available. Does anyone have experience using Pascal in a modern development environment or is it just a dead language?

To clarify my question: Can Pascal be used for modern application development. Is it being used and how?

Wikipedia links or quick Google searches will not help, I've been there. That is why I am asking the 'experts'.

Answer

Marco van de Voort picture Marco van de Voort · Jun 11, 2009

Note that older (1.0.x) versions of the Free Pascal compiler sources were effectively Turbo Pascal compatible (as in could be debugged with TP), which demonstrates basic Pascal capabilities.

The question of use of Pascal as a basic language is roughly the same as for C, since they are nearly equivalent on a language level. The only difference is the amount, versatily and quality of compilers.

I would strongly recommend to go in the direction of the Delphi dialect though (either using Delphi or Lazarus/FPC), and not go back to Turbo.

The DOS-isms and 16-bitisms would seriously limit you, and nearly the entire dialect that is free from DOS-isms and 16-bititms is supported by FPC or Delphi.

Turbo Pascal was one of the (if not THE) main compilers of the DOS era, and Delphi is still the second most sold IDE in the world (after visual studio), so I think the "dead language" and "teaching language" bits are a bit exaggerated.