2 ms·
Many games are written in C/C++ with the minimal amount of Java.
by stephc_int13 6y ago
Many games are written in C/C++ with the minimal amount of Java.
- asveikau 6y agoGames are usually written to allocate memory upfront and keep the per-frame allocation cost from affecting performance, by re-using buffers. So I would expect a well written game to also not be a workload in which you can recognize a poor performing malloc. Same with media code for similar reasons.