WebAssembly & Syscalls: A Story in Tool-Building
Lightningat Cloud Native Wasm Day Europe 2023 · on Tuesday, 2023-04-18· at 12:05· Hall 7, Room C | Ground Floor | Europe Complex·
summary
A small toolchain that discovers and virtualizes syscalls in arbitrary Wasm binaries: wazenTrace statically and dynamically finds which POSIX-like calls a module will invoke (it works even without WASI), Marcotte wasm generates libsys interfaces and an optional virtual VFS when run with --full, and the scale function runtime runs a Rust example doing open/read/close as a serverless function on localhost:8080 and deploys to a global edge in under 50 ms. Claim: VFS layers can avoid kernel context switches and may outperform native I/O in some cases.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:02Syscalls in WebAssembly
- 2:28Handling syscalls approaches
- 3:31Tracing syscalls tooling
- 4:35Marquette and virtual layers
- 6:40Demo: File ops in serverless
- 8:30Virtual platform futures
- 10:38Tooling and standards evolution
- 10:59Closing remarks
- 11:19Q&A
related talks
32mBuilding a WebAssembly-first OS – An Adventure Into the Unorthodox
38mWebAssembly for the backend
53mWebAssembly
37mWebAssembly with Rust
24mReaching the Unix Philosophy's Logical Extreme with Webassembly
35mWebAssembly beyond the browser
32mBringing WebAssembly outside the web with WASI
38mWebAssembly beyond the browser
