Re:The Next Mainstream Programming Language: A Game Develope...
by z3phyr on Friday August 26, 2022 @12:50PM
(#32609870)
> C++ devs already uses templates, smart pointers, RAII, etc.
These are frowned upon in the game industry circles. Most of the game code is C style C++ with occasional function overloading and classes.
Re:The Next Mainstream Programming Language: A Game Develope...
by ska on Friday August 26, 2022 @05:38PM
(#32613044)
I don't know much at all about game development circles, but have a fair appreciation of others areas using c or c++ for combinations of high performance, low level, bare metal, etc. I've found some shops that very specifically use c, but other that use "c++" but that means "pretty c-like, with a few c++ features but don't you dare do x,y,z". Some of these variants are pretty simple, but it's enforced by code/design review (and sometimes tooling) not the language.
From what I've seen on HN, Zig seams to appeal people who like the “simplicity” of C and find Rust too complex, but I don't think anyone coming from C++ could find Rust “too complex” (a bit different, with a learning curve indeed, but not “too complex”).