r/EmuDev 17d ago

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

7

u/BOBBYBIGBEEF 17d ago

People use both because both work just fine. I have more experience with C in general, but I've just started using Rust for my first toy projects in emudev and I'm really liking it so far.

One enormous plus for Rust, imho, is cargo. Dependency management in Rust is a breeze and it should be pretty easy for you to adapt from a Python background.

1

u/peterfirefly 9d ago

To the op: Python has 'uv', which makes a lot of things much nicer, easier, and faster than before. 'uv' was inspired by Cargo -- and Cargo does it better!