2008
DOI: 10.1145/1377492.1377493
|View full text |Cite
|
Sign up to set email alerts
|

Checking type safety of foreign function calls

Abstract: Foreign function interfaces (FFIs) allow components in different languages to communicate directly with each other. While FFIs are useful, they often require writing tricky low-level code and include little or no static safety checking, thus providing a rich source of hard-to-find programming errors. In this article, we study the problem of enforcing type safety across the OCaml-to-C FFI and the Java Native Interface (JNI). We present O-Saffire and J-Saffire, a pair of multilingual type inference systems that … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2009
2009
2021
2021

Publication Types

Select...
4
2

Relationship

0
6

Authors

Journals

citations
Cited by 21 publications
(1 citation statement)
references
References 29 publications
0
1
0
Order By: Relevance
“…Previous work proposed preliminary formalisms that capture certain aspects of the JNI. Furr and Foster justified J-Saffire's soundness on a formalization of a subset of the JNI (Furr and Foster 2008). It models only the native side, and treats Java objects opaquely.…”
Section: Related Workmentioning
confidence: 99%
“…Previous work proposed preliminary formalisms that capture certain aspects of the JNI. Furr and Foster justified J-Saffire's soundness on a formalization of a subset of the JNI (Furr and Foster 2008). It models only the native side, and treats Java objects opaquely.…”
Section: Related Workmentioning
confidence: 99%