4 ms·
I just don't see a reason to use c++ anymore when rust does quite literally, everything better. For prototyping, hacking, firmware and native interfacing though
by kachapopopow 1y ago
I just don't see a reason to use c++ anymore when rust does quite literally, everything better. For prototyping, hacking, firmware and native interfacing though? c++ any time of the day.
- TuxSH 1y ago> quite literally, everything better Like retained mode GUIs, games, intrusive containers or anything that can't be trivially represented by a tree of unique_/shared_ptr?
- kachapopopow 1y agokinda don't get me wrong c++ is useful, however, rust is a platform language and should be used as such, like c++, but much further than that. modern games are almost never made in a native language, but rather on a language on top of it, be it squirle, lua, blueprints, c#, wasm, javascript, state trees, binary trees, decision trees...
- jibal 1y agoNo one got you wrong ... you claimed that you couldn't see any reason to continue to use C++. That was a lie.
- jb1991 1y agoWriting cross-platform code between CPU and GPU, a very common occurrence, is certainly one reason to use C++.
- kachapopopow 1y agogpu-rs (hopefully) will do it better including all the sub-projects around it.
- halfcat 1y ago> rust does quite literally, everything better > (hopefully) will do it better So, not quite literally everything
- kachapopopow 1y agowork in progress, relatively new language.
- jibal 1y ago"rust does quite literally, everything better" Be honest.
- kachapopopow 1y agoas a language, yes, the eco-system is still young.
- jibal 1y agoYou wrote "I just don't see a reason to use c++ anymore when rust does quite literally, everything better." -- there are numerous obvious reasons to continue to use C++, including its mature ecosystem, and other reasons have been pointed out. You have been called out for dishonesty. Stop lying. I won't respond again.
- kachapopopow 1y ago"For prototyping, hacking, firmware and native interfacing though? c++ any time of the day." - literally gave reasons to continue to use c++. I just don't see a reason to use c++ anymore (as a language). There happy? Point being if I am starting a project, it's going to be rust because it's just plain better as long as it's something I actually care about and isn't related to breaking things or leveraging the fact that c++ is worse (in a good way) or I am already working with c++.