Search:
Forum
General C++ Programming
Java vs. C
Java vs. C
Jan 21, 2010 at 1:16am UTC
Alan
(91)
Why is Java slower than something like C or C++? And also, is the JNI slower than C (though it is mostly in C)?
Jan 21, 2010 at 1:29am UTC
helios
(17607)
C and C++ compile to native code. Java compiles to bytecode which, depending on implementation, may be ran through a virtual machine or compiled to native code JIT. Neither of these solutions are very efficient.
Jan 21, 2010 at 1:44am UTC
blackcoder41
(1426)
java talks with the java virtual machine, not with the OS directly..
Jan 21, 2010 at 3:11am UTC
tummychow
(1210)
Java is not as fast as C++ but it is highly platform portable. But because it must converse through the Java Runtime Environment some speed is lost.
Jan 21, 2010 at 12:58pm UTC
Bazzy
(6281)
[java] is highly platform portable
It runs only on one machine...
Jan 21, 2010 at 1:05pm UTC
Denis
(350)
Java is unpredictable language.
Because garbage collector maybe going to run in not convenient time.
Jan 21, 2010 at 1:30pm UTC
blackcoder41
(1426)
Java is unpredictable language.
Because garbage collector maybe going to run in not convenient time.
you can force it to do garbage collection in any time you wanted to.
Jan 21, 2010 at 1:50pm UTC
helios
(17607)
Java is unpredictable language.
Me john, big tree!
Jan 21, 2010 at 1:53pm UTC
blackcoder41
(1426)
Me john, big tree!
what?
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs