2 ms·
I'm not an expert in either language, so take this with a grain of salt, but I've been using Rust pretty regularly for a range of hobby projects since just befo
by dx87 8y ago
I'm not an expert in either language, so take this with a grain of salt, but I've been using Rust pretty regularly for a range of hobby projects since just before Rust 1.0 released, and recently spent the last few months messing around with C++ trying GUI development with Qt. I thought that Rust was much easier to get a grasp of than C++, the main differences being documentation and Rust felt like it had a more consistent design. By consistent design, I mean that C++ constantly felt like a mix of C along with some newer features tacked on, but Rust just felt like Rust, and there wasn't any syntax that felt out of place. I think the documentation issues I had are mainly because of the age of C++, it kind of reminded me javascript where you can ask the same question and get 5 different, but valid, answers. Overall, Rust required a lot of learning up front, but the official documentation is excellent. C++ felt like following a trail of breadcrumbs where each resource gave me a piece of the answer I was looking for, increasing the amount of time it took to figure something out.