2 ms·
Well C++ is used in console video games, but without RTTI & exceptions, even in large cases without new/delete (but inplace new). Templates are welcome, but if
by malkia 17y ago
Well C++ is used in console video games, but without RTTI & exceptions, even in large cases without new/delete (but inplace new). Templates are welcome, but if overused would produce bloat.
Almost no virtual functions, or at least forbidden at many levels, STL here and there, or custom STL (EASTL for example, etc.).
The C++ that we use in our studio (for runtime code, not tools) is more like "C" - Using RAII here and here, templates, and rarely classes (mainly for RAII debuging constructs), and using just POD structures (this helps a bit when deserializing objects, especially if they need to be streamed - as in a open-world game).