- cross-posted to:
- hackernews@lemmy.smeargle.fans
- cross-posted to:
- hackernews@lemmy.smeargle.fans
I’ve been trying to learn a system language because it would enable me to access a whole new world of possibility for games, tools, and potential projects. My main problem when learning the language are:
- can I write modern C++ code using the newer standards and still compile with libraries from older standards?
- how do I even organize a C++ project? Look at the linked project, the
CMakeList.txt
is so hard to understand, the syntax looks so hard to write. - how do I install dependencies? You’re going to laugh at me, but I always used languages with package managers and I looked again at the linked project, and they write a whole
CMakeList.txt
to importImGui
(GUI library I wanna try) but if you compare the structure of the files, it’s different from the ones on the repository ofImGui
.
As you see there are a lot of problems and it pains me to not be able to solve them because Rust is so unfun to use and work with! Do you think I should try C++, carry one with it?
Thanks, hector.
Wtf? How is rust unfun? Rust is by far the best language to write. Try not using references at first, just clone. Then you don’t have to worry about the borrow checker.
Honestly if you think rust is unfun I can’t imagine you’ll get along with c++
I’m happy to use C++ but bounced off Rust several times.
The Rusty community itself stated in no uncertain terms that even they believe Rust is already too complex, and the numbers of those expressing that concern are growing every year.
https://www.infoworld.com/article/3713264/rust-developers-concerned-about-complexity-low-usage.html
Please leave that fanboy attitude at the door. It does no one any good.