>
> A lot of people don't realize how fast Java is. By that I mean,
> console, server backend or anything not using the GUI. The GUI
> (Swing, AWT, etc) is what makes a Java application slow. We did a lot
> of tests with different languages and GUI toolkits before we started
> with our current project. In the end we decided on FPC and Lazarus
> purely due to all our developers having a history in Delphi and Object
> Pascal.
>
> Regards,
> - Graeme -
Java is neither fast nor good. What you tested were specialized cases of
small toy use which the VM could easily optimize to an extent where GCC
can only drool. However if you take any bigger (and it doesn't have to
use GUI) java app it'll simply be bloated and slow. The reason is not VM
speed, but the fact that java has a GC and it makes people write shit.
It's that simple, people in java create instances of everything even for
1ms throwaway temporary stuff, and unless they work with primitives they
create instances for everything they need just some tmp. The GC doesn't
keep up(it can't keep up) and memory grows. This is a java syndrome, and
it's so bad in java even python or IO or other interpreted languages end
up with eating less memory (and thus CPU btw).
If you want LANGUAGE performance comparison (NOT or LIMITED compiler
comparison) you need to take big programs and see how does work. It's
ofcourse impossible to make same big apps for 1 on 1 testing, but if you
look into things like Lazarus of Pixel etc. you'll see extreme speed and
memory conservatism without conscious optimalizations.
Now take azreus(or how's it called) or eclipse etc. and compare. It's
the way how language and it's internals (not compiler specific, but if
everything is an object it simpy hurts performance) push programmers to
do stuff in SOME way. This is what I call implicit optimalization.
Ales
P.S: IMHO you guys should stop this discussion it's somewhat useless
P.S2: IMHO read/write buffers should be modernized :)
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives