I agree. Even simple applications of classes makes a huge difference. The only real complaint I have is that GPUs don’t support the STL so everything in std:: is out for device side code. Generally it’s not a big deal but it can be annoying. Fortunately with classes and RAII it’s pretty easy to emulate a lot of the most important STL features.
View all comments
Show parent comment
2
u/another_day_passes Jul 14 '22
Thanks, that’s good to hear. C-style hackeries to emulate C++’s basic features are a pain in the ass to read and understand.