Java is far too slow and memory-consuming !!!

D

Dan Simper

I think this programming language was sponsored by Bill Gates and
Intel to force people to buy multi-gigahertz computers and tons of
RAM.

Programmers should write programs so, that they will work on ALL PCs,
including 8086 XTs, so write programs in ASSEMBLER !!!
 
A

Aquila Deus

Dan said:
I think this programming language was sponsored by Bill Gates and
Intel to force people to buy multi-gigahertz computers and tons of
RAM.

Programmers should write programs so, that they will work on ALL PCs,
including 8086 XTs, so write programs in ASSEMBLER !!!
I agree. But Sun's Java 1.5 VM has improved a lot.
 
R

Rene

I think this programming language was sponsored by Bill Gates and
Intel to force people to buy multi-gigahertz computers and tons of
RAM.

Programmers should write programs so, that they will work on ALL PCs,
including 8086 XTs, so write programs in ASSEMBLER !!!

It is easy to write slow programs in ANY language. If you are careful, you
can today reach the speed of C++ up to a factor that is irrelevant due to
the gains you get. Sometimes you can surpass C++. As for comparison to C,
which is faster than C++, there is for example a port of the Quake game
engine in Java. It almost reaches the native speed of the original C code:
http://www.bytonic.de/html/benchmarks.html

So don't automatically blame Java - that's too cheap. Java is absolutely
fast enough. But as I said, you can program slow programs in any given
language. Try to find out where you lose your speed, then optimize. Often
there are better algorithms or datastructures available which will give the
best speedup - but such things are completely independent of the language.

HTH.

CU

Rene
 
S

sherwin.thomas

Rene said:
It is easy to write slow programs in ANY language. If you are careful, you
can today reach the speed of C++ up to a factor that is irrelevant due to
the gains you get. Sometimes you can surpass C++. As for comparison to C,
which is faster than C++, there is for example a port of the Quake game
engine in Java. It almost reaches the native speed of the original C code:
http://www.bytonic.de/html/benchmarks.html

So don't automatically blame Java - that's too cheap. Java is absolutely
fast enough. But as I said, you can program slow programs in any given
language. Try to find out where you lose your speed, then optimize. Often
there are better algorithms or datastructures available which will give the
best speedup - but such things are completely independent of the language.

HTH.

CU

Rene
 
T

TechBookReport

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top