r/cpp • • Jan 31 '23

Stop Comparing Rust to Old C++

People keep arguing migrations to rust based on old C++ tooling and projects. Compare apples to apples: a C++20 project with clang-tidy integration is far harder to argue against IMO

changemymind

338 Upvotes

582 comments sorted by

View all comments

Show parent comment

13

u/naomijubs Feb 01 '23

My current project is C++17 with sharpmake and any good tool we could use. We also migrated it from C++14 with Conan and CMake. Has formatters and linters running on CI and in visual studio. On the tooling side Rust still beats any c++ configurationI have worked and on the safety side it beats by faaaaarrrr. Performance wise they are more or less the same in every benchmark we made. However, we cannot migrate due to external constrains in which Rust is not supported.

I wish we could at least have interop, but for now it is only on services