Sunday, August 2, 2009

Do u think Java can compete with C++ in games design feild??

Java is a powerful language, with good future, but do u think it can be used in near future for games design, and can it be used on game platforms like PS3, or do u think C will stay the most prefered language for all 3d games designers

Do u think Java can compete with C++ in games design feild??
Never, c++ is so much better for time dependent applications. You can't imagine how much energy is devoted in a game to memory management to optimize it to the fullest. A Java programmer doesn't even know what memory management is!





Could you imagine stalling while playing because the garbage collector just kicked in?
Reply:It is all preference. Both languages have pros and cons. JAVA and C++ are very similar anyway. I believe C++ is more popular than JAVA.
Reply:Never.





Java has to run through a virtual machine, which makes it painfully slow when compared to C. Interestingly, most games are made in C, not C++, although a lot of people don't seem to know the difference. C# is being used on .Net platforms, but isn't really a threat to C.





Maybe in the distant future where we never have to worry about silly things like processor speeds or memory capacity Java might have a chance to shine, but hopefully it'll be obsolete by then.





For a PS3 to run a Java program it would need to be running a virtual machine. I've never heard of a PS3 Java VM, and I doubt such a thing will ever exist. Although the PS3 is a powerful games console, it is a shockingly slow computer. Consoles are optimised to play games, not translate Java!





Rawlyn.
Reply:java is a weird language that compiles everytime you run it, making it real slow for any real 3d gaming...


No comments:

Post a Comment