News for hackers. Stuff that matters.
Re:Why does C++ think my class is copy-constructible when it... by Bekwnn on Tuesday June 10, 2025 @05:10PM (#44241470)
In a similar boat with C++, but even the complexity of fundamental "simple C++" issues and lack of syntax sugar made me gravitate away from C++ to better-C style languages ultimately landing on Zig.

Using another language has only made me feel C++'s shortcomings more strongly than before.

Stroustrup even gave a talk about what a new C++ next language would look like and lands on many things better C languages already have implemented.

Sadly it's doubtful for gamedev to move away from C++ anytime soon. I am enjoying Vulkan+SDL in Zig on a personal project and can only hope that space of the language's community continues to grow.

Re:Why does C++ think my class is copy-constructible when it... by Night_Thastus on Tuesday June 10, 2025 @05:45PM (#44241820)
I find a lot of the syntactic sugar problems can be solved with a library. I use QT for a lot of my work and it is a fantastic library that saves me a lot of time. Using its strings are a breeze, not to mention QFile/QFileInfo/QDir for anything file related, QProcess for running external processes, etc. It's rich, well documented, and highly functional.