Code generation and optimization for java-to-c compilers

  • Authors:
  • Youngsun Han;Shinyoung Kim;Hokwon Kim;Seok Joong Hwang;Seon Wook Kim

  • Affiliations:
  • Department of Electronics and Computer Engineering, Korea University, Seoul, Korea;Department of Electronics and Computer Engineering, Korea University, Seoul, Korea;Department of Electronics and Computer Engineering, Korea University, Seoul, Korea;Department of Electronics and Computer Engineering, Korea University, Seoul, Korea;Department of Electronics and Computer Engineering, Korea University, Seoul, Korea

  • Venue:
  • EUC'06 Proceedings of the 2006 international conference on Emerging Directions in Embedded and Ubiquitous Computing
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Currently the Java programming language is popularly used in Internet-based systems, mobile and ubiquitous devices because of its portability and programability. However, inherently its performance is sometimes very limited due to interpretation overhead of class files by Java Virtual Machines (JVMs). In this paper, as one of the solutions to resolve the performance limitation, we present code generation and optimization techniques for a Java-to-C translator. Our compiler framework translates Java bytecode into C codes with preserving Java’s programming semantics, such as inheritance, method overloading, virtual method invocation, garbage collection, and so on. Moreover, our compiler translates for in Java into for in C instead of test and jump for better performance. Our runtime library fully supports Connected Limited Device Configuration (CLDC) 1.0 API’s.