I''m sorry, I can''t help but chime in here.
I''m using Java at work to do the same job as another language, Omnimark 5, and its speed is quite close. Considering the size of the samples I am using and the amount of output I get, its rippin fast.
I was also able to write a program that built GUI components, ie menus, toolbars, from XML files. The method called by the button/menu was also specified in the XML. No tables of function pointers, all reflection classes. This only took me a couple of days. Try that in C++.
Using Flash instead of Java in every case is just plain stupid.
There''s "const", its just called "final".
Correct me if I''m wrong, but templates are used for generic programming. In Java, since everything is inherited from Object, everythings done through polymorphism. No fuss, no muss.
quote:
There''s no substitute for C++.
Unless you are getting information from a database, then you''d use SQL.
Or if you are parsing a text file for patterns, then you''d use Perl or Awk.
Or running applications inside a web browser, then you''d use Java.
Any programmer worth his/her salt should be able to pick up any language for the given problem. Languages are just tools. If you only have a hammer, you treat everything like a nail. You can have a favourite hammer, just be prepared to use a screwdriver every once in a while.
If you think that you will only need one language for your entire programming career, you''d better find another career. Programming has one of the benefits of being able to learn new things every day. If you see this as a problem, you will get left behind. The skillset in this field changes constantly and quickly. Resisting change may prove to work against you.
As for the original questions:
(1)whether will JAVA take over C++ to becoming
the next main General Purpose Language?
Not everywhere. Telecom - no. Database apps - no. Graphics - no. Web Technology - good chance.
(2)how does that affect the type of language used
to make games?
Marginally.
(3)IF that''s the case, does it implies that we
may have to drop C++ and pick up JAVA?
Great News: You dont have to drop anything! If you pick up Java, it will only add to your knowledge base. The C++ will not get squeezed out. Java was designed to be familiar to C++, so it should be easy to pick up.