[java] Java disadvantages,
Members - Reputation: 480
Posted 30 April 2007 - 01:21 AM
I love Java, it is my language of choice, and I defend it pretty much like most of my fellow developers of this forum have done here. But I would never embrace it as my one and only language, no! No reasonable programmer would choose to be proficient (as in production-proficient) with just one language. The market is a harsh place for guys that use the same ol' hammer to nail everything, be this hammer C, C++, C# or Java.
I heard someone mentioning a physics engine or something.. You might want to take a look at Phys2D.
Banned - Reputation: 100
Posted 30 April 2007 - 07:15 AM
So java is pretty fast (at least for me).
Crossbones+ - Reputation: 2853
Posted 01 May 2007 - 03:14 AM
Original post by Jemburula
Unfortunately I study Java at uni, I by no means know the language inside out or can put any real comparison between them. I do know however, that I have to participate in an online competition using Java as part of my marks for one of the subjects I am doing... Everytime I run my code I get a "time limit exceeded" error. On the site, Java is given twice as long as any other language to execute but I still can't make the cut. No one else I have spoken to can either... It's a fairly simple and small problem. It takes 0.1 second in my C++ version that is designed exactly the same and over 2 seconds (that is when the limit is exceeded) in Java. Ofcourse that is discounting this 'hot-spot' thing I just read about in here. Either way it annoys the hell out of me.
What is the problem you are expected to solve? Sounds more like an issue with how the JVM is running on their hardware. I've competed in a few competitions, and Java was given the same time as C, C++ and Pascal. No one ever hit the time cap that I'm aware of. (except for people that were trying to brute force it, in which case it didn't matter which they were using)