Do not fall into the “performant language” trap. C++ might run fast, but it also requires an unreasonable amount of work to get memory management right.
You could spend that time on optimizing your algorithms instead, what will more than likely balance out the performance costs that come with most memory safe languages.
(There’s of course also Rust, that is both, fast and memory-safe, but the Rust support in game engines is still in its infancy, and the fully Rust-based engines aren’t really production ready either. Also, it’s not available on all platforms.)
Do not fall into the “performant language” trap. C++ might run fast, but it also requires an unreasonable amount of work to get memory management right. You could spend that time on optimizing your algorithms instead, what will more than likely balance out the performance costs that come with most memory safe languages.
(There’s of course also Rust, that is both, fast and memory-safe, but the Rust support in game engines is still in its infancy, and the fully Rust-based engines aren’t really production ready either. Also, it’s not available on all platforms.)