[java] Java disadvantages

Started by
42 comments, last by Luckless 16 years, 11 months ago
Flame war! C'mon guys, why do we always have to see this, again and again? Don't we have better things to discuss, like, for example, games? :D

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.

a.k.a javabeats at yahoo.ca
Advertisement
It beats doing JCL on a CICS platform... and some forms of Pascal... that's for sure...
i know im just a newb but my 25KB java tennis game achieved a whopping maximum of 4% on my cpu, while the same game done in GM maxed out at 80% plus i used drawing functions to draw stuff like rockets and the court instead of using images, which i figure takes more cpu.
So java is pretty fast (at least for me).
Quote: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)

Old Username: Talroth
If your signature on a web forum takes up more space than your average post, then you are doing things wrong.

This topic is closed to new replies.

Advertisement