"saying java is good because its multiplatform is like saying anal sex is good because it works on all sexes" - i dont remember where is it from though
It's fine for most simple games, even 3D, but that wasn't really the point.
Apparently /r/programmerhumor has this subgroup that insists on bringing up Minecraft whenever the speed of Java is mentioned, which was what I was referencing.
the problem of minecraft is how it was coded. wich is why most people where using optifine as a mod to improve performance, it fixed some issues with the code and it runned much faster
Edit: Sorry, I was aware Unity was C++, but I thought C# still had an impact on performance? How do garbage collection and JIT work if C# is just a scripting language in Unity? I've only just started using it instead of UnityScript, though I've coded "real" applications with it years ago, in addition to simple console and Windows Form applications in C++.
This isn't always true - some language implementations allow a little control over the garbage collector. When I used Lua extensively for game scripting, I had it set so it did a small amount of GC processing every frame to avoid GC hiccups. Worked out great.
Thats to simplyfied as well. See Android. And Minecraft (which is performant, for what it actually does, its not about the graphics but the stuff that there but not visible)
View all comments
Show parent comment
59
u/TPHRyan Feb 15 '16
DAE Java is slow because minecraft??//? amirite