A Framework for Interoperability
Kathleen Fisher, Riccardo Pucella, John Reppy

TL;DR
This paper presents a flexible framework for language interoperability that supports various foreign-interface policies, enabling efficient access to low-level libraries from high-level languages.
Contribution
The paper introduces a versatile framework that can implement multiple foreign-interface policies efficiently, unlike previous approaches that commit to a single policy.
Findings
Framework supports diverse foreign-interface policies
Two tools demonstrate different policies on the framework
Benchmarks show high efficiency of implementations
Abstract
Practical implementations of high-level languages must provide access to libraries and system services that have APIs specified in a low-level language (usually C). An important characteristic of such mechanisms is the foreign-interface policy that defines how to bridge the semantic gap between the high-level language and C. For example, IDL-based tools generate code to marshal data into and out of the high-level representation according to user annotations. The design space of foreign-interface policies is large and there are pros and cons to each approach. Rather than commit to a particular policy, we choose to focus on the problem of supporting a gamut of interoperability policies. In this paper, we describe a framework for language interoperability that is expressive enough to support very efficient implementations of a wide range of different foreign-interface policies. We describe…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Software Engineering Research · Security and Verification in Computing
