Examples of C++ vs. Rust code for a presentation
Hi everyone,
I'm making a presentation for work and my goal is to get people to start thinking of Rust as an alternative to C++.
I'm looking for examples to show the value of Rust while also keeping it small enough to fit in slides. The ideal example would be able to fit in a slide but it wouldn't be totally obvious what the issue in the C++ code is.
Another option would be to build up a single example over a few slides and introduce a bug that isn't very obvious in that larger context. And then show how doing the same thing in Rust, the compiler would catch that.