Lune

PLDI2024顶会

RichWasm: Bringing Safe, Fine-Grained, Shared-Memory Interoperability Down to WebAssembly

Michael Fitzgibbons, Zoe Paraskevopoulou, Noble Mushtak, Michelle Thalakottur, Jose Sulaiman Manzur, Amal Ahmed

摘要

Safe, shared-memory interoperability between languages with different type systems and memory-safety guarantees is an intricate problem as crossing language boundaries may result in memory-safety violations. In this paper, we present RichWasm, a novel richly typed intermediate language designed to serve as a compilation target for typed high-level languages with different memory-safety guarantees. RichWasm is based on WebAssembly and enables safe shared-memory interoperability by incorporating a variety of type features that support fine-grained memory ownership and sharing. RichWasm is rich enough to serve as a typed compilation target for both typed garbage-collected languages and languages with an ownership-based type system and manually managed memory. We demonstrate this by providing compilers from core ML and 𝐿 3 , a type-safe language with strong updates [12], to RichWasm. RichWasm is compiled to regular Wasm, allowing for use in existing environments. We formalize RichWasm in Coq and prove type safety.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Iris-Wasm: Robust and Modular Verification of WebAssembly Programs 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 Iris-MSWasm: Elucidating and Mechanising the Security Invariants of Memory-Safe WebAssembly
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 Continuing WebAssembly with Effect Handlers
  • Iris-WasmFX: Modular Reasoning for Wasm Stack Switching 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Iris-MSWasm: Elucidating and Mechanising the Security Invariants of Memory-Safe WebAssembly 引用了 Iris-Wasm: Robust and Modular Verification of WebAssembly Programs
  • Iris-MSWasm: Elucidating and Mechanising the Security Invariants of Memory-Safe WebAssembly 引用了 MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe Code
  • Realistic Realizability: Specifying ABIs You Can Count On 引用了 Semantic soundness for language interoperability
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Realistic Realizability: Specifying ABIs You Can Count OnAndrew Wagner, Zachary Eisbach, Amal AhmedOOPSLA 2024 · 6 次引用
  2. Iris-MSWasm: Elucidating and Mechanising the Security Invariants of Memory-Safe WebAssemblyMaxime Legoupil, June Rousseau, Aïna Linn Georges, Jean Pichon-Pharabod 等OOPSLA 2024 · 5 次引用
  3. Iris-WasmFX: Modular Reasoning for Wasm Stack SwitchingMaxime Legoupil, Mathias Pedersen, Lars Birkedal, Sam Lindley 等PLDI 2026

它引用的 Paper4

  1. MSWasm: Soundly Enforcing Memory-Safe Execution of Unsafe CodeAlexandra E. Michael, Anitha Gollamudi, Jay Bosamiya, Evan Johnson 等POPL 2023 · 22 次引用
  2. Semantic soundness for language interoperabilityDaniel Patterson, Noble Mushtak, Andrew Wagner, Amal AhmedPLDI 2022 · 21 次引用
  3. Continuing WebAssembly with Effect HandlersLuna Phipps-Costin, Andreas Rossberg, Arjun Guha, Daan Leijen 等OOPSLA 2023 · 20 次引用
  4. Iris-Wasm: Robust and Modular Verification of WebAssembly ProgramsXiaojia Rao, Aïna Linn Georges, Maxime Legoupil, Conrad Watt 等PLDI 2023 · 19 次引用

相关 Paper

  1. A Formal Account of the Wasm 3.0 Concurrency ModelAzalea Raad, Michalis Kokologiannakis, Viktor Vafeiadis, Conrad WattOOPSLA 2026
  2. Provably-Safe Multilingual Software Sandboxing using WebAssemblyJay Bosamiya, Wen Shih Lim, Bryan ParnoUSENIX Security 2022
  3. The high-level benefits of low-level sandboxingMichael Sammler, Deepak Garg, Derek Dreyer, Tadeusz LitakPOPL 2020 · 26 次引用
  4. Two Mechanisations of WebAssembly 1.0Conrad Watt, Xiaojia Rao, Jean Pichon-Pharabod, Martin Bodin 等FM 2021 · 32 次引用
  5. Progressful Interpreters for Efficient WebAssembly MechanisationXiaojia Rao, Stefan Radziuk, Conrad Watt, Philippa GardnerPOPL 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖