Java Game Engines -
i have been looking game development , first programming language java. after playing many stunning games developed in c++ wondered why java not heavily used in games industry. looked @ jmonkeyengine 3 , few other game engine environments screenshots saw far less stunning. titles need speed hot pursuit form ea , assassins creed ubisoft convey such realism. why can't java produce such industry strength games ? art work?
java , c# has automatic garbage collection , c++ doesn't. programmer has pay closer attention memory usage avoud dangling pointers , on.
thanks guys.
java , c# has automatic garbage collection , c++ doesn't. programmer has pay closer attention memory usage avoud dangling pointers , on.
you have answered question.
in games programming garbage collection not advantage. if performance of java more or less in par c++ tasks, , jit can aggressive optimizations beat can done during static analysis; garbage collection can make framerates drop @ worst moment.
also, graphics intensive tasks java not appropriate, there many things considered unsafe runtime, , forbidden (like casting pointers reinterpret data).
another important matter settled know how in industry. inertia of c++ in games industry huge. game developers today know c , c++. having large developer pool hire lessens 1 of management hazards key people leaving company.
but despite that, there have been successful games parts written in java, vampire: masquerade - redemption.
a more recent game minecraft written in java; not feature state of art graphics, emphasis put more dynamic nature of virtual environment.
and many other games , engines have runtime supports managed (safe automatic memory allocation , collection) scripting language built on top of high performance rendering , networking platform (written in c/c++), unreal engine example.
Comments
Post a Comment