logoalt Hacker News

IshKebab10/01/20241 replyview on HN

Rust is much better than C++ overall and far easier to debug (C++ is prone to very difficult to debug memory errors which don't happen in Rust).

The main reasons to use C++ these days are compatibility with existing code (C++ and Rust are a bit of a pain to mix), and if a big dependency is C++ (e.g. Qt).


Replies

pjmlp10/01/2024

Additionally the industry standards on GPGPU APIs, tooling ecosystem.

Maybe one day we get Live++ or Visual Studio debugging experience for Rust, given that now plenty of Microsoft projects use Rust.

show 1 reply