4 ms·
You might be interested in Jai[0], Jonathan Blow's (as yet) unreleased language designed with game development in mind. It's not strictly a subset of C++, but
by Crespyl 10y ago
You might be interested in Jai[0], Jonathan Blow's (as yet) unreleased language designed with game development in mind.
It's not strictly a subset of C++, but rather focuses on syntax and semantics that are convenient for the rapid development/exploratory refactoring and high performance that are characteristic of game dev.
Lots of tools for different kinds of manual memory management, build rules integrated into the source, syntax support for easily switching between "arrays of structs" and "structs of arrays" (and data-oriented types in general), simple static typing with type inference, that kind of thing.
[0] https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md https://github.com/BSVino/JaiPrimer/blob/master/JaiPrimer.md