4 ms·
Yeah, of course Java can make games. Hell, even some high frequency trading shops are using Java. But the amount of effort you have to put in to twist a languag
by smabie 6y ago
Yeah, of course Java can make games. Hell, even some high frequency trading shops are using Java. But the amount of effort you have to put in to twist a language and ecosystem that is practically designed around frequent allocation is just not worth it. Like, if you're writing zero allocation Scala or Java you're going to be writing C/C++ in the first place.
Might as well just use C/C++ instead of fighting the ecosystem tooth and nail.
- iamcreasy 6y ago> But the amount of effort you have to put in to twist a language and ecosystem that is practically designed around frequent allocation is just not worth it. Do you an example in mind? Unity3D uses C# which is a garbage collected language.
- smabie 6y agoAnd as anyone who as played Unity games would attest to, the performance is terrible. There's a reason why UE is much more popular than Unity for triple-A games. Take Escape From Tarkov, an FPS that tries to be a AAA game and uses Unity. The performance problems that game has is frankly staggering.
- nix23 6y agoThat's so true, you really can 'feel' Unity...it's mushy movement.
- deleted 6y ago[deleted]
- iamcreasy 6y agoBut the shear volume of successful games built by Unity suggests that the extra work comes with a GC'ed language is worth it.
- smabie 6y agoI mean, I don't think anyone is saying languages with GC are bad for a wide genre of games. They just are inappropriate for the most cutting edge, performance intensive games. Unity is a lot easier to get started with than UE4, so I understand the popularity. But for some games, the player can really tell how inappropriate the engine is. You can feel the GC churning away: poor performance, high dispersion of fps, frequent stuttering, etc. While any game using any engine could have these problems, it's especially prominent in unity games.