首页> 外文会议>Programming languages and systems >JNI Light: An Operational Model for the Core JNI
【24h】

JNI Light: An Operational Model for the Core JNI

机译:JNI Light:核心JNI的运营模型

获取原文
获取原文并翻译 | 示例

摘要

Abstract. Through foreign function interfaces (FFIs), software components in different programming languages interact with each other in the same address space. Recent years have witnessed a number of systems that analyze FFIs for safety and reliability. However, lack of formal specifications of FFIs hampers progress in this endeavor. We present a formal operational model, JNI Light (JNIL), for a subset of a widely used FFI-—the Java Native Interface (JNI). JNIL focuses on the core issues when a high-level garbage-collected language interacts with a low-level language. It proposes abstractions for handling a shared heap, cross-language method calls, cross-language exception handling, and garbage collection. JNIL can directly serve as a formal basis for JNI tools and systems. The abstractions in JNIL are also useful when modeling other FFIs, such as the Python/C interface and the OCaml/C interface.
机译:抽象。通过外部功能接口(FFI),使用不同编程语言的软件组件可以在同一地址空间中相互交互。近年来,见证了许多分析FFI的安全性和可靠性的系统。但是,缺乏外国金融机构的正式规范阻碍了这一努力的进展。我们为广泛使用的FFI- Java本机接口(JNI)的子集提供了一个正式的操作模型JNI Light(JNIL)。当高级垃圾收集语言与低级语言交互时,JNIL专注于核心问题。它提出了用于处理共享堆,跨语言方法调用,跨语言异常处理和垃圾回收的抽象。 JNIL可以直接作为JNI工具和系统的正式基础。在对其他FFI(例如Python / C接口和OCaml / C接口)进行建模时,JNIL中的抽象也很有用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号