First page Back Continue Last page Graphics
Systems using GNU Classpath: gcj
Java front-end to the GCC compiler
- Java ≃ C++
- GCC backend performs ± same optimizations as with other languages
(C, C++, Fortran, Ada, Pascal, Cobol, ...)
→ fast execution
- Static compilation produces stand-alone executables
- But java programming language is a dynamic!
→ Run-time library contains a simple bytecode interpreter for dynamically loaded classes
→ loadClass() can use a mapping to native shared libraries