News for hackers. Stuff that matters.
Re:C++'s Rule of Zero by coliveira on Sunday June 28, 2015 @11:09AM (#9793781)
People who write code in C++ are not doing this because it is fun or just because it is the latest buzzword. They do it in C++ because it is the language that supports the billions of lines of code in their industry, while providing a path forward through new standards and libraries. In summary, code written in C++ will not move to other languages because there is no need for that. The best opportunity for competitors is to write their own new systems and replicate what C++ already has. Not even Java has been able to do that up to this moment. And while it is possible, it will take a long time.
Re:C++'s Rule of Zero by andresmanz on Sunday June 28, 2015 @12:28PM (#9794049)
These are some good and valid points. Well, I write code in C++ because it's fun. And because I don't know any other language yet(!) that offers so many features to express my intends in code.

I'm _trying_ to learn Rust at the moment, but parts of the official book, as well as parts of Rust's standard library (function naming) have been horrible to read up to now.

Re:C++'s Rule of Zero by berkut on Sunday June 28, 2015 @02:15PM (#9794415)
Well I still use it (and Python) for fun for my own high-performance stuff - there's no other language out there (yet, without having to install custom compilers) that allows speed, flexibility and encapsulation...

Good points though - there are huge ecosystems out there in the games / graphics / VFX industries of C++ code and libraries, and I doubt any of it's going away any time soon.

Re:C++'s Rule of Zero by marcosdumay on Sunday June 28, 2015 @11:58AM (#9793952)
Java is one of the least capable contenders at this point.

All those thousands of lines of C++ code, you can easily use them in any language you choose, except for Java.

Re:C++'s Rule of Zero by GFK_of_xmaspast on Sunday June 28, 2015 @02:12PM (#9794404)
It's actually reasonably easy, you just write a shim that can be linked as 'extern "C" {}' and then use jni. (I find it much easier than, for example, cython)
Re:C++'s Rule of Zero by santaclaus on Sunday June 28, 2015 @03:00PM (#9794593)
This even works for Fortran.