@saxnot A big underrated advantage of #Rust in terms of reliability are the Result and Option types as they are much more explicit than exceptions and nullptr.
Furthermore rustc/clippy are your best friend for writing good code.
I‘ve never written code with a as good first (succesful) compile & success rate as in Rust.
If it has to be low level, take a look at #Zig and if it doesn‘t have to be zero-overhad, maybe a functional lang would be a good contender.

@saxnot In theory you should be able to get the same relability with modern C++. Therefore the new e.g. optional and range types help a lot. But you have to force yourself to not use common C++ patterns as the compiler won‘t help you.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.