Cee And Cee Plus Plus Compared To Other LanguagesC/C++ (CeeCeePlusPlus) compared to RubyLanguage
Let's start with Ruby: what does Ruby do that C++ cannot do?
Both can do the same things--any program written in one can be written in the other, given enough time and effort. Please read TuringTarpit.
Ruby is most frequently used in scripting applications. It is a DynamicallyTyped language, and usually interpreted. Contrast with C++, which is StaticallyTyped and usually compiled to machine instructions.
C/C++ compared to PythonLanguage
Python being the big winner of the ShortestWikiContest. See Ruby
C/C++ compared to DelphiLanguage
Delphi is an object-oriented extension to Pascal. It's pretty much supported by one particular vendor, and designed for business applications. Personally, I would only use Delphi for legacy stuff--meaning code which is written for an existing system implemented in Delphi. Nothing against the language per se, just that it isn't something freely available and portable to lots of different platforms
There are at least 2 open source implementations of Delphi, and besides that a freely downloadable GPL distribution from Borland for educational purposes.
One Open Source implementation (www.freepascal.org) runs on 5 architectures and 20+ OSes, and that count is still increasing monthly
Perl and Python are scripting languages. C and C++ are system languages. They are different types of languages, for different applications.
C/C++ compared to VisualBasic
What does VisualBasic do that C or C++ cannot do?
When I'm single-stepping through a program, looking at the source code in the debugger, I can (usually) change the code and continue stepping through the new code. With all the C development environments I know about, any change to the code requires a recompile before I can step through the new code. MSVC has supported Edit and Continue since version 6.0 for small changes (no type changes).
What does C or C++ do that VisualBasic cannot do?
C/C++ compared to PostScript/ForthLanguage
What does PostScript/Forth do that C or C++ cannot do?
C/C++ compared to all other languages
What would you do in C/C++ that you wouldn't do in any other language? Interface with an OS that exposes a C/C++ API?
Ignoring for a moment the whole turing-complete line of argumentation, I can write device-drivers, DSP code, code for small embedded systems in a language that allows both close control over the generated machine code and use of high-level object oriented and generic programming constructs. Whew! --AndrewQueisser
[You know, preferences aside -- Forth can do all these things; in fact, it excels at each of them. One could even easily argue that Forth does these particular things better and more easily than C/C++.]
I would write robust, secure, and fast code with modern C++ idioms including specifically RAII. - SmugCppWeenie?
EditText of this page
(last edited February 18, 2013)
or FindPage with title or text search