[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CompareCppAndOtherLanguages
It is concluded that Perl, Python, ?Rexx and Tcl are more productive then C, C++ and Java. This means that the time to produce a program is shorter.
Also, it is concluded that in terms of run-time and memory consumption, they turn out also better then Java. They are only topped by C and C++ in this aspect.
But the main conclusion was that the variance in run-time speed, development time, etc. between programmers of the same language is bigger than the variance between languages (e.g. there are Java programmers that create faster programs than the average C programmer). Therefore, it is suggested that it might be better to train a programmer in his/her languages, instead of choosing a faster language.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CompareCppAndOtherLanguages
(C++ FAQ) What are the differences between C++ and other languages?
At the references below you can find a scientific paper. It compares C, C++, Java, Perl, Python, ?Rexx and Tcl.It is concluded that Perl, Python, ?Rexx and Tcl are more productive then C, C++ and Java. This means that the time to produce a program is shorter.
Also, it is concluded that in terms of run-time and memory consumption, they turn out also better then Java. They are only topped by C and C++ in this aspect.
But the main conclusion was that the variance in run-time speed, development time, etc. between programmers of the same language is bigger than the variance between languages (e.g. there are Java programmers that create faster programs than the average C programmer). Therefore, it is suggested that it might be better to train a programmer in his/her languages, instead of choosing a faster language.
Other comparisons
Reference
- 1. Prechelt L. 2000. An empirical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl for a search/string-processing program. Technical Report 2000-5. http://page.mi.fu-berlin.de/~prechelt/Biblio/jccpprtTR.pdf
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
