3 ms·
You could use C++ and ignore the rest of it.
by randomNumber7 2y ago
You could use C++ and ignore the rest of it.
- huhtenberg 2y agoNot sure why the parent is in gray. It's a perfectly valid and widely practiced approach.
- codr7 2y agoHow often it works out as intended is very much up for debate though.
- jimbob45 2y agoFor legacy codebases, switching the compiler is certainly out of the question. For everyone else, why do you think it would be an issue to use the C++ compiler?
- codr7 2y agoBecause the complexity seeps in through the cracks, and with the language comes a mindset; same reasons Linus is wary about C++ in the kernel. Some say it works; I've never succeeded, even on solo projects.
- krapp 2y agoI think this is the general style for the Godot framework. They use a limited subset of C++, avoiding STL and some modern features, and limited templates.
- bfrog 2y agoI tried it once, ran out of memory debugging a template error as it blew up my terminal into a sea of jibberish.