Re:Google paper comparing performance of C++, Java, Scala, a...
by cageface on Friday June 03, 2011 @06:54AM
(#2615847)
True, but this is one of the reasons people choose to code in C++. The quality of tools & common libraries is as much a factor in language selection as the syntax and semantics of the language itself.
Re:Google paper comparing performance of C++, Java, Scala, a...
by nimrody on Friday June 03, 2011 @08:03AM
(#2615992)
You mean - "forced to use C++" :)
I would love to use Digital Mars D or Scala for scientific applications if they had compilers/runtimes as good as C++.
Perhaps one day the LLVM backend would be useful as a universal backend for many less popular languages.
A less popular language - or one that is usually used for less-critical code - will suffer.
C++ wasn't always so fast. See Kernighan and Pike, "The Practice of Programming" for a simple example where Java surprisingly beats C++.