Re: What language for mathematical applications?



"Rob Thorpe" <robert.thorpe@xxxxxxxxxxxx> writes:

Jon Harrop wrote:

Can you provide any evidence of that? My impression is that Java is
cripplingly slow and C#, although slower than native-code compiled
languages, is much faster. For the mathematically-intensive backend, speed
may well be important. Even for the GUI, I've seen Java running too slowly
on high-end hardware.

AFAIK Java speed for internal operations is quite OK, not the same as
compiled code but not far off. It's not a case of "even the GUI" more
"especially the GUI". The Java GUI libs are slow.


I have seen benchmarks that show JAVA being faster than compiled code
for certain operations. The JIT does a good job of speeding up
things, too. Also, threads and IO operations which were handled by the VM
in the past are handled by the OS now. The only slow part is swing but
you can use swt (eclipse project) which is, also, native. Also, speed
depends on the programmer. You can certainly write poor code that runs
slow on JAVA but that's valid for any other language as well.

I like swing though. I think it was well designed. Too bad it's slow.

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
.



Relevant Pages

  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.gui)
  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.programmer)
  • Re: Whats your favorite language and why? (LINUX)
    ... and if you want to do GUI, your MT GUI app must serialize all the info ... of are the CLR and the JVM. ... coordination, and with that, any needed synchronization. ... At times, you'll want Java. ...
    (comp.programming)
  • Re: A question to the APL vendors on Windows GUIs ...
    ... Is there a possibility of using "Java GUI Modules" instead? ... we can't provide natural APL interfaces to every possible ... low-level programming. ...
    (comp.lang.apl)
  • comp.lang.java.gui FAQ
    ... Q1.2 There are so many Java FAQs. ... Q1.5 What is Swing? ... Q2.1 My GUI freezes or doesn't update. ... Q2.5 How can I make a transparent or non-rectangular window? ...
    (comp.lang.java.gui)