News for hackers. Stuff that matters.
Re:Elements of Modern C++ Style by cageface on Saturday October 29, 2011 @10:40AM (#3171963)
I've been using a lot of these new features in XCode 4 and my code is already much cleaner and more readable. Modern C++ really is a pleasure to use and I love writing code that's this high level but still smoking fast.
Re:Elements of Modern C++ Style by rayiner on Saturday October 29, 2011 @01:21PM (#3172305)
Are you kidding? The syntax is still inscrutable and the template system is shit. It's all slightly less shitty than it used to be:

binder2nd< greater<int> > x = bind2nd( greater<int>(), 42 );

but IMHO C++ jumped the shark in 1996 or so.

Re:Elements of Modern C++ Style by cageface on Saturday October 29, 2011 @01:53PM (#3172367)
While people are ranting about C++'s warts I'm having a great time writing performant but clean DSP code and getting paid for it. I don't give a shit if there's some imaginary pristine alternative.
Re:Elements of Modern C++ Style by rayiner on Saturday October 29, 2011 @05:24PM (#3172850)
I used to write high-performance embedded C++ code (and get paid for it). I'd still rather use a JVM language for the general logic and drop down to low-level C/assembler for the really performance-critical stuff.

The only thing I'd use C++ for these days is where it's minimal runtime support requirements come in handy (e.g. runtimes for other languages).

Re:Elements of Modern C++ Style by cageface on Saturday October 29, 2011 @11:41PM (#3173573)
Sure. I'd use Scala if the situation allows. But these days I'm doing realtime DSP & OpenGL stuff and I'm very happy I don't have to do this in a language as low-level as C.
Re:Elements of Modern C++ Style by slowpoke on Saturday October 29, 2011 @11:07AM (#3172020)
I wouldn't exactly call C++ "high level", but I agree that the new features make it nicer to use when you have to.