Desktop

General discussion

C++ vs Delphi Programming

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?

All Comments

get the

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.

Delphi vs C++

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.

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.

Portable ?

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

well they

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.

Start or search

Create a new discussion

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

Post type

Subject title

Topic Tags

Select up to 3 tags (1 tag required)

Cloud

Piracy

Security

Apple

Microsoft

IT Employment

Google

Open Source

Mobility

Social Enterprise

Community

Smartphones

Operating Systems

Windows

Mac

Malware

Tablets

Networking

Browser

Hardware

Software

Web Developerment

Linux

Off Topic

Message Body

Track this discussion and email me when there are updates

Please note: Do not post advertisements, offensive material, profanity, or personal attacks. Please remember to be considerate of other members. If you're new to the TechRepublic Forums, please read our TechRepublic Forums FAQ. All submitted content is subject to our Terms Of Use.