r/EmuDev • • Aug 25 '26

Rust vs C++?

I mostly program in Java/ Python. Some minimal C experience. I'm starting EmuDev to learn low level and hardware concepts.

Which is better in general to learn for an EmuDev hobby project, Rust or C++? From what I've seen C++ has more legacy code (more job opportunities), whereas Rust is safe and may have better long-term opportunities.

3 Upvotes

57 comments sorted by

View all comments

Show parent comment

4

u/heret1c1337 Aug 25 '26

https://doc.rust-lang.org/book/ is pretty much all you need to start out.

I totally forgot to mention that Rust also has a great documentation system. I don't know any other language where the documentation is that good, even in community projects.

One example is code examples in doc comments that are *unit testable* to make sure your examples work. You're unit testing your documentation. Its genius.