General discussion

Locked

C++ vs Delphi Programming

By Ronne ·
I have a colleague who insists in developing programs in Delphi. My concern is that I have known C/C++ and regard these languages as the safer languages to use in development, due to their stability and performance. But I want to know from others what their view point is on Delphi programming - compared to other languages.

what difference have you found in developing software systems in Delphi as opposed to C/ C++. What are the compatibility and scalability issues? Is it a viable development programming language or are the others better?

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

get the

by Jaqui In reply to C++ vs Delphi Programming

newest version of delphi.
it will include borland's c++ as an all in one ide.
with full code copatability so you can work in both languages on the same project with no conflicts.

the delay they are having is putting the original builder into the delhpi ide. ( I think they are plannning for late this year for release )

the benefits of delphi over c, c++ is familiarity, but that goes both ways, if you are familiar with c, c++ then it has that banafit.

technically there is no real benefits to one over the other, they are both excellent languages with full access to the hardware.

pascal/delphi is as old as c itself if not a bit older. delphi is to pascal as c++ is to c might be a good way to put it, more abilities without losing the strengths.
( majority of gui code for borlands products was developed for and with delphi, even for c++ builder )

my pesonal prefference is c and c++, but only because I know them better, not from any fault in the other.

Collapse -

Delphi vs C++

by Tony Hopkinson In reply to C++ vs Delphi Programming

To be quite honest it depends on your background if you learnt in pascal you'll be far more comfortable in Delphi. C based then C++.

Personally I prefer Delphi, but I don't like multiple inheritance and do like strict typing which C++ can get around with legacy C code but is inherrent in Pascal. Other than that they are the two most feature rich coding languages in the business.
Delphi can if used properly enforce stability, far better than C based languages, simply because various C features that can be used particularly implicit casting are identified at compile time by Borland's compiler. Some as warnings or hints many as errors in pascal terms.
It can mean having to write more pascal code, but there again what you are doing given basic programming standards will stand out like a sore thumb and it won't be by accident.

Collapse -

Delphi vs C++

by Ronne In reply to Delphi vs C++

Thank you. Truth be told I learnt programming on Pascal first, but I preferred C. So I am biased to the C/C++ langguage. However, I have always heard thta the majority of industry programs are written in C/C++ because of portability.

Collapse -

Portable ?

by Tony Hopkinson In reply to Delphi vs C++

Neither standard C nor Pascal are portable as such.
That only depends on the availability of a compiler and the standard libraries.
Java is portable (in theory) becuase it gets compiled into to a standard pseudo code which is then interpreted as a VM. Slower, less efficient, if it had been as portable as was designed, then hooray, unfortunately one or two vendor based VMs blew that concept straight out of the water.

C and Pascal compile into machine code so the executables are platform specific.


Never been sure why C became more popular aside from windows being written in it.

The difference between the two environments was described to me very simply.
A C compiler treats the coder as a willing accomplice, a Pascal one as a criminal. So C based languages are best for bending the rules, Pascal for sticking to them.

I've coded in both, but I'm much more familiar with pascal, can't think of any reason you can't say the same of C/C++.

Collapse -

well they

by Jaqui In reply to Portable ?

both are completely portable, if you are talking source code rather than executable. :)
after all my linux executable will only work on a linux box, with exact same config, but the sources will compile on any platform*


*as long as the includes and makefile targets were set up for the platform. since windows and linux use a different include name. ( the windows api requires things one way linux works with the language standard ) and the makefile target is always host dependant.

Collapse -

More like Luggable isn't it.

by Tony Hopkinson In reply to well they

Still it's better than being promised portability then finding out that's only true if you regularly bench press 250 kg, or the item in question weighs 1.4 * 10 -99 g.

Back to Desktop Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums