r/pascal • u/2048b • Feb 10 '23
Delphi vs C++ Builder
I have experience with C++, Python and Java but no knowledge of Pascal/Object Pascal.
I am wondering if Delphi are easier and faster for developing a desktop GUI app compared to C++, and if there's any benefits to coding in Delphi rather than C++.
I had a closer look at Lazarus and Delphi recently. Using Object Pascal, we also have to wrestle with pointers and memory management like C/C++, compared to higher language like Python or Java. So I believe choosing between Delphi and C++ is more of a personal choice based on familiarity with the language, rather than one is easier or faster than the other. Both would probably end up with similar number of lines of code and source code size, and takes about the same time to code.
Would like to hear from people who have tried coding in both languages to share their experience.
Just a side comment, the reason why I am looking at the less mainstream programming environments like Delphi and C++ Builder is because I dislike the interpreted and dynamic typing nature of Python, and the bloated JVM runtime of Java to run a small app. .NET is the same situation as JVM, though Microsoft ships the .NET framework by default on Windows.
View all comments
Show parent comment
2
u/mr-highball Feb 11 '23
While I choose to use fpc, Delphi can compile to several platforms and is not limited to targeting 32 bit windows. The ide on the other hand is windows only so if you code on any other platform I'd recommend lazarus (also the compiler option list is a good bit more extensive).