News for hackers. Stuff that matters.
Re:C++11 Makes Competitors Go Rusty by bitcracker on Thursday February 02, 2012 @05:59AM (#3542222)
> anyone who doesn't already know C++ should avoid the investment of learning it

ACK. I know many languages, and my advice after using C++ for several years is: Don't dare try to do everything in C++. Use C++ only when it is absolutely necessary.

Just compare this C++ code

http://shootout.alioth.debian.org/u32/program.php?test=regex...

with this equivalent Javascript code to understand immediately what I mean:

http://shootout.alioth.debian.org/u32/benchmark.php?test=reg...

It's funny that this V8 code runs even 4.5 times faster (!) than C++ :)

http://shootout.alioth.debian.org/u32/performance.php?test=r...

There are no comments on this comment yet.