News for hackers. Stuff that matters.
Re:Why would you learn C++ in 2016? by vvanders on Tuesday April 12, 2016 @06:41PM (#11484209)
You're not really giving up OOP with Rust, traits give you interface abstraction which is most of what you're getting with C++. As I write more C++ I find myself using less classes and more structs + functions that let me decouple my code and data.

If anything I would say Rust is a tad more multi-paradigm due to its really strong functional roots(Sum types!) and nicer treatment of lambdas(no alloc like in std::function).

Re:Why would you learn C++ in 2016? by lmitchell on Tuesday April 12, 2016 @06:50PM (#11484268)
Maybe a bit off-topic, but I just want to clarify - lambdas only include dynamic allocation if you convert them to an std::function, right? I was under the impression that 'auto f = []{...}' did no heap allocation, but converting to an std::function could, depending on the size of the closure.
Re:Why would you learn C++ in 2016? by vvanders on Tuesday April 12, 2016 @06:51PM (#11484277)
Yup your on the mark, it leads to some interesting scenarios where you can't easily refactor code without either introducing template hell or taking the hit for std::function.