4 ms·
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
by cageface 15y ago
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.
- slowpoke 15y agoI wouldn't exactly call C++ "high level", but I agree that the new features make it nicer to use when you have to.
- rayiner 15y agoAre 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.
- cageface 15y agoWhile 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.
- rayiner 15y agoI 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).
- cageface 15y agoSure. 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.