4 ms·
It doesn't deserve a second look. The only things Pascal has going for it nowadays are: (1) static executables and (2) some good libraries (and not many at tha
by tangus 2y ago
It doesn't deserve a second look.
The only things Pascal has going for it nowadays are: (1) static executables and (2) some good libraries (and not many at that). As a language it's extremely primitive and unergonomic, and the Free Pascal maintainers don't really want to improve it because they are used to it.
As an implementation, it's the slowest compiled language there is. Everything is heap allocated (and reallocated) and it doesn't even have an efficient allocator, not to mention garbage collector.
The only reason there is to use Pascal nowadays is when you need one of the two things I mentioned and the results offset the torture that is programming in that language.
- anothername12 2y ago> As an implementation, it's the slowest compiled language there Are you talking about the Free Pascal implementation here?
- tangus 2y agoYes, but Delphi is no rocket either.
- wolvesechoes 2y ago"Everything is heap allocated" Well, the second look would prove it false, so maybe it is worth it after all.
- tangus 2y agoYeah, well... you won't get very far with just TP-style objects and strings and without dynamic arrays.