4 ms·
Minecraft's java version has (or had, back when I played it) noticeable stutter issues (not necessarily caused by the gc). The Bedrock version (written in C++)
by Matheus28 6y ago
Minecraft's java version has (or had, back when I played it) noticeable stutter issues (not necessarily caused by the gc). The Bedrock version (written in C++) is much smoother in comparison. The Java version is only for pc/linux/mac. Bedrock is used for modern consoles and mobile. I believe they also had a separate C++ code base for older consoles.
- jholman 6y agoRe: the Java version having stutter issues, hmn, fair enough. I didn't notice any, way back when I last played Minecraft. Re: a rewrite to C++ for consoles and mobile, yeah, when you've got hundreds of millions of dollars for a game whose prototype took about two human-years to write, seems like a good choice to rewrite it for a few-percent perf gain. And, repeating myself, console certification standards being what they are, it makes sense for a company trying to ship to console to be terrified of gc stutter, even if GC only drops one frame a minute. So yes, if you have a console goal, or yes if you have almost infinite engineering money, writing or rewriting in C++ is probably a good idea. Do you know anything about why modern console and older consoles allegedly have separate codebases?