2 ms·
I agree about the universality of C++. I also agree you have to compare C++ + code analysis versus Rust regarding safety. However, my team is spending over 100k
by seren 11y ago
I agree about the universality of C++. I also agree you have to compare C++ + code analysis versus Rust regarding safety. However, my team is spending over 100k$ a year to get access to these tools. In the grand scheme of things, compared to the salary and other expenses, it is insignificant.
But for a small team for a new project, it is probably easier and more cost-effective to use a language that is safe from the ground up, rather than relying on external vendors. (Most of these tools have a free option for FLOSS projects, but you might need to develop something closed source)
I honestly don't know if this is something that can tip the balance, or if this is a "detail". Time will tell.
- jbandela1 11y agoTake a look at Herb Sutter's talk from CppCon 2015. The slides are here (https://github.com/CppCon/CppCon2015/blob/master/Keynotes/Writing%20Good%20C++14%20By%20Default/Writing%20Good%20C++14%20By%20Default%20-%20Herb%20Sutter%20-%20CppCon%202015.pdf https://github.com/CppCon/CppCon2015/blob/master/Keynotes/Wr...) and the video is here https://www.youtube.com/watch?v=hEx5DNLWGgA https://www.youtube.com/watch?v=hEx5DNLWGgA. Microsoft will be releasing the static analysis tool as a free cross-platform tool (and I think open-source IIRC). They shipped a preview for Visual Studio 2015 with Update 1, and are planning on shipping a cross-platform version soon. As tools like this become free and ubiquitous, it will greatly improve C++ code safety.