2 ms·
I used to use Delphi a lot, in the 1990's. It's a few things. Compiler designed for compilation speed above all else. Delphi did not attempt to ever compete wi
by mike_hearn 10y ago
I used to use Delphi a lot, in the 1990's. It's a few things.
Compiler designed for compilation speed above all else. Delphi did not attempt to ever compete with other languages/toolchains on raw runtime performance of the generated code .... I don't recall ever seeing Borland/Inprise boast that a new version generated more optimal code. This is because the code the compiler produced was fast enough for Delphi's target market (desktop business apps) and it was still a lot faster than Visual Basic, and a lot more compact than Java, which were its primary competitors. Delphi sold new versions to developers by giving them new productivity tools: for desktop apps that spend all their time idling, raw code performance was rarely an issue.
Single pass compiler. Structuring Delphi apps could be a nightmare. You could not have circular unit dependencies and breaking such dependencies could often be irritating as hell. Functions had to be declared in the right order.
No preprocessor or include based model. "Units" defined their header and implementation in the same file, so the compiler could rapidly load a binary representation of what a unit exported whilst it was compiling.
No generics. Thus, no explosion of code to generate at runtime, like with C++.
Grammar that was very easy to parse.
Compiler codebase that at its core was designed for very old computers, so is/was very tightly written.
Probably more. That's just what I recall.
- chamakits 10y agoSweet. Thanks for the info. That provides a lot more context. I never wrote Delphi myself, but I always appreciated it, because it was used to develop the first IDE I used fory first programming class. Bloodshed's Dev C++. Quite an impressive IDE, so I imagine Delphi was (still is? No idea) a great platform for desktop app development.
- pjmlp 10y agoIt is, but since Borland lost their vision how to sell software and the tools division changed hands a few times, they lost most of the customers. Nowadays most of them are enterprise customers with big maintenance contracts. Also for shops focusing on Windows only customers, Delphi cannot compete with .NET.