Basic HTML version of Foils prepared 18 May 97

Foil 30 Java Features -- High Performance

From Java Tutorial - Spring 1997 Part 1:Introduction to Java Language Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


1 Java interpreter performs on-the-fly runtime execution of the Java bytecodes which can result in a satisfactory performance.
2 There are 3 ways of executing Java
3 Interpreter through a Browser -- Java approximately 50 times slower than C
4 "Just-in-time" (JIT) Interpreter on a browser -- Java approximately 4 times slower than C
  • This is essentially an on the fly compiler as a JIT Interpreter saves code for repeated sections to provide compiled (without complex optimizations) code efficiency after first execution
5 Compiler for generating native machine code out of Java or Java bytecodes, viewed as intermediate compiler form
  • One expects that native compilers will be comparable to C or Fortran in performance
  • As Java has no pointers, compiled code should be faster in many cases than C or C++

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998