4 ms·
Making games on the JVM is a lot of fun, but the garbage collector does limit what you can do (the OP mentions this as one of the drawbacks of Go).
by ZoFreX 11y ago
Making games on the JVM is a lot of fun, but the garbage collector does limit what you can do (the OP mentions this as one of the drawbacks of Go).
- Mikeb85 11y agoDoes it though? Java's garbage collector is very mature and can be tuned any which way. It's definitely more mature than Go's (although Go's is getting better all the time). Not to mention, Unity uses a garbage collector (for all the C# bits, which is a very significant part), as does Unreal (their own written in C++), and even game-oriented languages like Flash and Haxe have garbage collectors. I'm not sure it's as big a problem as popular wisdom would state. Edit - here's some documentation from Oracle about tuning the GC: https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/ergonomics.html#sthref12 https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gc...
- ZoFreX 11y agoIt's entirely possible I'm behind the times, I haven't attempted game programming on the JVM in a long time.