2 ms·
Are there game studios out there still using C? From what I've heard the majority is using C++, so switching Rust just makes your life easier without changing t
by littlestymaar 4y ago
Are there game studios out there still using C? From what I've heard the majority is using C++, so switching Rust just makes your life easier without changing too much (C++ devs already uses templates, smart pointers, RAII, etc. which Rust has too, but with a better design (a stronger type system, and also hindsight from 30 years of C++)).
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”).
- z3phyr 4y ago> 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.
- ska 4y agoI 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.