Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Rust for Web. Parent comment
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.
There are no comments on this comment yet.
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.