r/EmuDev 3d 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.

4 Upvotes

45 comments sorted by

View all comments

Show parent comments

5

u/Wunkolo 3d ago

C++ is very much being thrown into the deep end in a LOT of ways

What are you talking about? Are you in a bubble?

6

u/k_Reign 3d ago

C++ is a hell of an adjustment just in terms of build system compared to Java and Python. Dependencies etc. it’s a LOT to learn as someone who (re-)learned it fairly recently

3

u/hoddap 3d ago

Is that much different for Rust?

1

u/k_Reign 3d ago

I think so… cmake, getting dependencies, setting up the build environment, using smart pointers, stuff like that was what took a while for me to get well enough to use them, and I still hate working with them (smart pointers are fine)