Skip to main navigation Skip to search Skip to main content

High-Performance Language Interoperability in Multi-Language Runtimes

  • Matthias Grimmer (Speaker)

Activity: Talk or presentationContributed talkunknown

Description

Programs often consist of parts that are written in different languages either because sub-problems lend themselves to being implemented in a particular language or because code in a specific language needs to be reused. However, multi-language programs often suffer from poor performance, complex cross-language interfaces, or insufficient flexibility. We propose a novel approach for composing multiple language implementations in a seamless way. It blurs the language borders by allowing foreign objects of one language to be used like regular objects in another language. Our interoperability mechanism targets language implementations that run on the same VM and have the same style of intermediate representation (IR), e.g., an abstract syntax tree (AST). For accessing foreign objects we generate foreign-language-specific IR patterns that we insert into the IR of the host application. Thus we avoid converting or marshalling foreign objects at the language border. A foreign object access is therefore as fast as it would be in the object’s language of origin. Our mechanism also allows the just-in-time compiler of the host VM to inline and optimize across language borders.
Period20 Oct 2014
Event titleSPLASH 2014 Doctoral Symposium
Event typeConference
LocationUnited StatesShow on map

Fields of science

  • 102029 Practical computer science
  • 102009 Computer simulation
  • 102 Computer Sciences
  • 102011 Formal languages
  • 102022 Software development
  • 102013 Human-computer interaction
  • 102024 Usability research

JKU Focus areas

  • Computation in Informatics and Mathematics
  • Engineering and Natural Sciences (in general)