Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pascal and its current applications [closed]

Tags:

pascal

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'.

like image 208
Andrioid Avatar asked Jun 08 '09 23:06

Andrioid


People also ask

Why is Pascal not used anymore?

Developed in the late 1960s, Pascal is an imperative and procedural programming language that was originally designed for teaching programming languages. Today, it's been mostly replaced by C, C++ and Java, but it's still used as an introduction to programming.

What applications use Pascal?

Pascal law states Pressure applied at any point of a liquid enclosed in a container is transmitted without loss to all other parts of the liquid. Hydraulic press, Hydraulic jack system, and brake system are a few applications of Pascal law.

What are the applications of Pascal in computer?

During the late 1970s and '80s, Pascal was one of the most widely used languages for programming instruction. It was available on nearly all computers, and, because of its familiarity, clarity, and security, it was used for production software as well as for education.

What is the latest version of Pascal?

Current Version Version 3.2. 2 is the latest stable version of Free Pascal.


1 Answers

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.

like image 159
Marco van de Voort Avatar answered Sep 22 '22 10:09

Marco van de Voort