Re: new to programming in Linux
From: Roger Leigh (${roger}_at_whinlatter.uklinux.net.invalid)
Date: 06/18/04
- Next message: Måns Rullgård: "Re: new to programming in Linux"
- Previous message: Pasi Parviainen: "Re: new to programming in Linux"
- In reply to: Pasi Parviainen: "Re: new to programming in Linux"
- Next in thread: bob holder: "Re: new to programming in Linux"
- Reply: bob holder: "Re: new to programming in Linux"
- Reply: Pasi Parviainen: "Re: new to programming in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Jun 2004 14:00:21 +0100
On 2004-06-18, Pasi Parviainen <pasi.parviainen@mirasys.fi> wrote:
>
>
> Roger Leigh wrote:
>
>> On 2004-06-16, Tim <not@likely.com> wrote:
>>
>>>Java seems attractive, probably because I´ve heard of it. Is it possible to
>>>write good, fast programs in Java?
>>
>> "Fast" and Java don't generally go together. I've only dabbled a
>> little, but even the simplest interfaces (dialog with a close button)
>> were slow.
> People should really look the numbers and forget old mantra "Java is slow."
If my own experience shows it to perform like a dog, why should other
peoples measurements make it better? That won't make it work for me,
will it?
The test program was three dialogs: two which were simple entries to
enter numbers, and one to display a result (the two numbers multiplied
together). So each dialog was either a label or entry, plus an OK
button. Each dialog took 2-3 second to display. That's unacceptable:
if this was GTK+, it would be nearly instantaneous.
If it's that bad for a trivial dialog, I can't bear to think about how
bad a real application will be. (Those I have seen did not perform
well.)
> Take pointers (for example) from here:
> http://www.idiom.com/~zilla/Computer/javaCbenchmark.html
Benchmarks are useless. Sure, under some workloads, it's OK. But the
performance of Swing was laughable.
Some of those benchmarks show Java can be OK. But that wasn't my point.
My point was that Swing was so slow as to be barely usable. I tested
on both Windows and Linux.
>> The SunONE IDE was completely unusable on my PIII 900MHz
>> laptop.
> Memory, eh? The most significant thing for Java slowness is short of
> system memory.
256 MiB core and 512 MiB swap should be enough for one program! This
was on a Windows machine, BTW. That is more than average, and if it
can't run in that much, that's not acceptable.
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
- Next message: Måns Rullgård: "Re: new to programming in Linux"
- Previous message: Pasi Parviainen: "Re: new to programming in Linux"
- In reply to: Pasi Parviainen: "Re: new to programming in Linux"
- Next in thread: bob holder: "Re: new to programming in Linux"
- Reply: bob holder: "Re: new to programming in Linux"
- Reply: Pasi Parviainen: "Re: new to programming in Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]