• 0

why is java so unresponsive in windows


Question

22 answers to this question

Recommended Posts

  • 0
Is it slower than on other OSes? I've tried Java in Windows and Linux, and some seem faster in Windows, some seem faster in Linux, but in both Java programs are inherently slower than other programing languages.

Untrue. You need to stay up to date.

OS News has a benchmark that shows exactly the opposite of your claims.

Java is not slow. Swing (the main choice of Java GUI) *IS* slow, but even that is mostly the fault of those using it.

  • 0
Untrue. You need to stay up to date.

OS News has a benchmark that shows exactly the opposite of your claims.

Java is not slow. Swing (the main choice of Java GUI) *IS* slow, but even that is mostly the fault of those using it.

It doesn't show the exact opposite, it just shows Java isn't as bad as it used to be. It's still not the fastest language to use.

  • 0
It doesn't show the exact opposite, it just shows Java isn't as bad as it used to be. It's still not the fastest language to use.

true, the fastest language is assembly, but how many of us want to write everything in assembly? ;)

java is slow because it runs through a VM. if the VM doesn't handle the code efficiently, then it will result in wasted resources and "slow" applications. try updating your VM (Y)

  • 0

java may seem slow because its a 4GL language (4th generation language) the higher you get up in generations it seems the slower they get because of how far they are becomming seperated from machine code... Java has garbage collectors that can slow down performance and runs on a VM that also causes performance slow downs, VMs are kinda a link between java language and the machine code it needs to run it...

  • 0
java may seem slow because its a 4GL language (4th generation language) the higher you get up in generations it seems the slower they get because of how far they are becomming seperated from machine code... Java has garbage collectors that can slow down performance and runs on a VM that also causes performance slow downs, VMs are kinda a link between java language and the machine code it needs to run it...

.net languages are 4 gl languages (as you told me c# was in some news article once ;)) and they don't slow down like java... i suppose this is because .net languages are not run in a VM, but are compiled at runtime.

for an example of this, see the quake II .net project. written in managed c++, it quake II .net runs at the same speed as the original game.

http://www.vertigosoftware.com/Quake2.htm

  • 0
Untrue. You need to stay up to date.

OS News has a benchmark that shows exactly the opposite of your claims.

Java is not slow. Swing (the main choice of Java GUI) *IS* slow, but even that is mostly the fault of those using it.

I'll repeat what I said here: https://www.neowin.net/forum/index.php?act=...dpost&p=1690558

Higher numbers are worse: http://img.osnews.com/img/5602/results.jpg

That graph is the number of seconds it took to complete the test. Java is the slowest :s

Did you even read the article?

  • 0

ummm.... Yes, overall java is the slowest among the ones mentioned in that graph. But did you pay attention to the individual tests? The slowest thing about the java was the trig. What would the numbers look like if we removed the trig?

Java would come in second, by a hair.

Here are the numbers with trig removed. I hope i didn't make a math mistake.

Visual c++.net 45.3

visual c#.net 61.2

c gcc 3.3.1 58.1

visual basic .net 81.9

visual j#.net 86.1

java 1.3.1 75.4

java 1.4.2 46.1

I'm not saying java is the best. But you can't look at just the overall number and say it's the slowest.

  • 0
I'll repeat what I said here: https://www.neowin.net/forum/index.php?act=...dpost&p=1690558

Higher numbers are worse: http://img.osnews.com/img/5602/results.jpg

That graph is the number of seconds it took to complete the test. Java is the slowest :s

Did you even read the article?

Seems faster in most things except trig really.

  • 0
.net languages are 4 gl languages (as you told me c# was in some news article once ;)) and they don't slow down like java... i suppose this is because .net languages are not run in a VM, but are compiled at runtime.

for an example of this, see the quake II .net project. written in managed c++, it quake II .net runs at the same speed as the original game.

http://www.vertigosoftware.com/Quake2.htm

yep, the VM and how they are compiled have a lot to do with it... .NET for example uses a runtime and compiles, java on the other hand uses a VM which converts code into a version it can run... kinda like the old Visual Basic PCODE compiler... vb use to be really slow for a lot of things... now that .NET came it is handled diffrently

it also has a lot to do with how the compiler that makes the executable does in terms of makeing a compiled file, some are not as optimized as they could be

Edited by bluebsh
  • 0
ummm.... Yes, overall java is the slowest among the ones mentioned in that graph. But did you pay attention to the individual tests? The slowest thing about the java was the trig. What would the numbers look like if we removed the trig?

Unfortunately, without the trig, a programming language would be pretty useless ;)

  • 0
Unfortunately, without the trig, a programming language would be pretty useless ;)

hehe, i know :D , i was just pointing out that the test was showing that java really isn't that bad. In fact it suprised me. I would have thought it would have been much slower on most, if not all of the tests.

  • 0
I'll repeat what I said here: https://www.neowin.net/forum/index.php?act=...dpost&p=1690558

Higher numbers are worse: http://img.osnews.com/img/5602/results.jpg

That graph is the number of seconds it took to complete the test. Java is the slowest :s

Did you even read the article?

Did YOU read the article? Java was second only to Visual C++. The ONLY area that it showed a significant performance problem was in trig functions. There has been some subsequent investigation into the huge performance difference in trig functions and the results are (1) Excessive synchronisation, (2) Poor implementation of some core methods. The problem has been reported to the Java Bug Parade and a fix will be forthcoming.

Stop and use the grey thing between your ears next time.

  • 0
It doesn't show the exact opposite, it just shows Java isn't as bad as it used to be. It's still not the fastest language to use.

Wrong! The benchmark DOES show the exact opposite of the claim that Java is slow... in fact, only Visual C++ is faster and by an insignificant amount.

  • 0
Did YOU read the article? Java was second only to Visual C++. The ONLY area that it showed a significant performance problem was in trig functions. There has been some subsequent investigation into the huge performance difference in trig functions and the results are (1) Excessive synchronisation, (2) Poor implementation of some core methods. The problem has been reported to the Java Bug Parade and a fix will be forthcoming.

Stop and use the grey thing between your ears next time.

my personal fav is how Managed C++.NET is 1st over the GCC compiler... hehe

  • 0
Wrong! The benchmark DOES show the exact opposite of the claim that Java is slow... in fact, only Visual C++ is faster and by an insignificant amount.?

The "exact" opposite would have been Java being the fastest, which it's not.

So the exact opposite of being slow, is being the fastest?

His exact words are saying that the "claim" is that java is slow, not that it is the slowest. The opposite of slowest, would be fastest, but the opposite of slow, is fast.

Oh Sn1p3t, try eclipse, i use it and it's great.

edit: here's the URL for eclipse

http://www.eclipse.org

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • low latency mode is still bugged and causing bootup times slow to a crawl. To fix, you have to disable the feature with vivetool. Seems as though it's not rolled out to a lot of people yet since I've only been able to find only a handful of people that are having issues.
    • I would recommend the Nothing 2a. The battery life is awesome, 2 or 3 days without going into battery power mode. The only thing that I've been looking into recently is that it doesn't "support" Graphene OS. I'm pretty sure there is a way, I just need to do some more looking.
    • You'd have to show me an example of a listing that says Gen 1, usually i'd expect that to mean Snapdragon Gen 1 (a type of chipset, which the Pixels don't use). Pixel 7 - White - 128gb - Unlocked - 85%+ battery - Grade B+ - $159 with free delivery - https://www.ebay.com/itm/398046617206 Pixel 7 - Obsidian - 128gb - Unlocked - 80%+ battery - Very Good - $157 with free delivery - https://www.ebay.com/itm/355617734563 Both look to be sold by companies with good feedback, dealing with refurbished phones and state the phones are unlocked with a clean IMEI. Obviously I can't vouch for either company though, but the listings look good in my opinion.
    • Because Chrome is doing it. And no one said anyone had to update immediately. That's silly. They could update every day for all I care as long as it's fast, and the next time the browser restarts, you're good. And the basic point is not to tee it up for bigger updates. As it is right now, all the windows I had open reopen anyway except inprivate.
    • Why? Does anybody actually want this? The constant need to close all browser sessions and wait for a new version to install, just so that there’s a integrated coupon manager feels like a waste of everyone’s time
  • Recent Achievements

    • Week One Done
      davidbazooked earned a badge
      Week One Done
    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
  • Popular Contributors

    1. 1
      +primortal
      515
    2. 2
      PsYcHoKiLLa
      185
    3. 3
      +Edouard
      159
    4. 4
      Steven P.
      83
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!