Amish Mehta writes:
I am not sure what you are talking too! ;-). I am trying to compare C and Java, based solely on my experience. What I meant is OS, if we all use/fix GNU/Linux as OS then do we really need Java?
I think we do. Java is a good prototyping tool for testing your ideas. Also you can do some *real good* programming with it. Your judgement that java is a a really slow language is considerably skewed from reality. I recommend you read this online thesis.
http://www.rolemaker.dk/articles/evaljava/ http://www.rolemaker.dk/articles/evaljava/Evaluating%20Java%20for%20Game%20D evelopment.pdf [1.0MB but worth the download]
Java can be used for games (I am not talking about applets here!!).
Because Java programs are slow and my experience is that C programs can be written faster than Java. Also as far as I know, Java is written in C too.
So was the first C compiler written in assembly and the first assembler in Machine code. That implies we should all code in machine code!!!! :-). One tool cannot solve problems. We need many tools to solve to different problems. Also in programming there is always a trade-off between computer resources (generally time) and programmer time. Java to a very great extent moves the balance towards less programming time.
All said and done, C is a superb language, but that does not mean Perl, Python and Java are bad.
**************** Vinayak Hegde APGDST Student NCST-JUHU ****************