2 ms·
> Rust doesn't have exceptions. So, C++ does. You asked about a tutorial for idiomatic Rust coming from C++, and then specified the full C++ set. So, you hav
by bsder 11y ago
> Rust doesn't have exceptions.
So, C++ does. You asked about a tutorial for idiomatic Rust coming from C++, and then specified the full C++ set.
So, you have to give the Rust-y equivalents to exceptions, RAII, templates, reference types, virtual classes, etc.
Personally, I'd rather have a C to Rust equivalent--it's a lot easier. Especially a tutorial and primer on making Rust work in an embedded toolchain.
Being able to have a compiled, modern language actually work on embedded hardware would be excessively useful.