3 ms·
CMake is the biggest reason I left C++ for Rust (there are others, of course), which is a shame because I actually came to like modern C++ (after years of using
by weberc2 9y ago
CMake is the biggest reason I left C++ for Rust (there are others, of course), which is a shame because I actually came to like modern C++ (after years of using it). I just don't have time to maintain a complex build program (in a crappy, slow language to boot) when Cargo just works out of the box.
- pjmlp 9y agoCargo still doesn't work out of the box for linking against binary libraries. That, alongside the lack of incremental compiler and linking, means my C++ work projects (native libraries for Java and .NET) actually do compile much faster than Rust occasional weekend projects.
- weberc2 9y agoLooks like incremental compilation hit beta in Feb: https://internals.rust-lang.org/t/incremental-compilation-beta/4721 https://internals.rust-lang.org/t/incremental-compilation-be... For me it's just fine that cargo doesn't support every odd use case of of the box in exchange for supporting the majority of use cases with virtually no effort. CMake hardly supports anything without a bunch of scripting--this includes reproducible builds, unit testing, etc.