Creating Java to Native Code Interfaces with Janet

  • Authors:
  • Marian Bubak;Dawid Kurzyniec;Piotr Luszczek;Vaidy Sunderam

  • Affiliations:
  • Institute of Computer Science, AGH, al. Mickiewicza 30, 30-059 Krakó/w, Poland. Tel.: +48 12 617 39 64/ Fax: +48 12 633 80 54 and Academic Computer Centre -- CYFRONET, Nawojki 11, 30-950 Krak& ...;Emory University, Atlanta, Department of Math and Computer Science, 1784 North Decatur Road, Suite 100, Atlanta, GA 30322, USA. Tel.: +404 712 8665;Univ. of Tennessee, Knoxville, Dept. of Comp. Sci., 1122 Volunteer Blvd., Suite 203, Knoxville, TN 37996-3450, USA. Tel.: +865 974 8295/ Fax: +865 974 8296 (Tel.: +865 974 8295/ Fax: +865 974 8296 ...;Emory University, Atlanta, Department of Math and Computer Science, 1784 North Decatur Road, Suite 100, Atlanta, GA 30322, USA. Tel.: +404 712 8665

  • Venue:
  • Scientific Programming
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Java is growing in appropriateness and usability for high performance computing. With this increasing adoption, issues relating to combining Java with existing codes in other languages become more important. The Java Native Interface (JNI) API is portable but too inconvenient to be used directly owing to its low-level API. This paper presents Janet -- a highly expressive Java language extension and preprocessing tool that enables convenient integration of native code with Java programs. The Janet methodology overcomes some of the limitations of JNI and generates Java programs that execute with little or no degradation despite the flexibility and generality of the interface.