4 ms·
Writing cross-platform code between CPU and GPU, a very common occurrence, is certainly one reason to use C++.
by jb1991 1y ago
Writing 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++.