Cross-Language Interoperability of Heterogeneous Code

Research output: Contribution to conferencePaperpeer-review

61 Downloads (Pure)


In recent years, the Java Virtual Machine has evolved from a cross-ISA virtualization layer to a system that can also offer multilingual support.
GraalVM paved the way to enable the interoperability of Java with other programming languages, such as Java, Python, R and even C++, that can run on top of the Truffle framework in a unified manner.
Additionally, there have been numerous academic and industrial endeavors to bridge the gap between the JVM and modern heterogeneous hardware resources.
All these efforts beacon the opportunity to use the JVM as a unified system that enables interoperability between multiple programming languages and multiple heterogeneous hardware resources.

In this paper, we focus on the interoperability of code that accelerates applications on heterogeneous hardware with multiple programming languages.
To realize that concept, we employ TornadoVM, a state-of-the-art software for enabling various JDK distributions to exploit hardware acceleration.
Although TornadoVM can transparently generate heterogeneous code at runtime, there are several challenges that hinder the portability of the generated code to other programming languages and systems.
Therefore, we analyze all challenges and propose a set of modifications at the compiler and runtime levels to constitute Java as a prototyping language for the generation of heterogeneous code that can be used by other programming languages and systems.
Original languageEnglish
Number of pages5
Publication statusAccepted/In press - 5 Feb 2023


  • code interoperability
  • programming languages
  • heterogeneous hardware


Dive into the research topics of 'Cross-Language Interoperability of Heterogeneous Code'. Together they form a unique fingerprint.

Cite this