Jump to content

  • Log In with Google      Sign In   
  • Create Account

[java] Java disadvantages


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
43 replies to this topic

#41 Son of Cain   Members   -  Reputation: 480

Like
0Likes
Like

Posted 30 April 2007 - 01:21 AM

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.



Sponsor:

#42 Bacon and Eggs   Members   -  Reputation: 163

Like
0Likes
Like

Posted 30 April 2007 - 05:54 AM

It beats doing JCL on a CICS platform... and some forms of Pascal... that's for sure...

#43 alexxzius   Banned   -  Reputation: 100

Like
0Likes
Like

Posted 30 April 2007 - 07:15 AM

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).

#44 Luckless   Crossbones+   -  Reputation: 1797

Like
0Likes
Like

Posted 01 May 2007 - 03:14 AM

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 topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS