ECOOP 2015
Sun 5 - Fri 10 July 2015 Prague, Czech Republic
Tue 7 Jul 2015 10:20 - 10:45 at Bohemia III - Session 1

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., a Truffle-based 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.

Tue 7 Jul

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

10:20 - 12:25
Session 1Truffle at Bohemia III
10:20
25m
Talk
One VM to Rule Them All And With Interoperability Bind Them
Truffle
Matthias Grimmer Johannes Kepler University Linz
10:45
25m
Talk
Substrate VM
Truffle
11:10
25m
Talk
Integrating Truffle into an Existing Language Implementation
Truffle
Chris Seaton Oracle Labs / University of Manchester
11:35
25m
Talk
Developer Tools for Truffle-implemented Languages
Truffle
12:00
25m
Talk
Truffle Trade-offs, Concepts and Experiences
Truffle
Christian Humer Oracle Labs