~/talk

"Re-Engineering Microsoft’s Hyperlight in Rust"

Talkat RustConf 2025 · 2025-09-02..09-05· [webassembly]
links:none on file
links:none on file
slides:none on file

Microsoft’s Hyperlight moves from .NET/C# to Rust with a gradual FFI-first migration that keeps a C ABI for interop, uses WIT to generate type-safe guest/host bindings, and runs on Hyper‑V and KVM backends. The rework replaces GC-managed memory with explicit ownership, simplifies cleanup via Drop, and yields measurable speedups: sandbox creation 1.6→1.3ms, host call 240μs→26μs, and WIT-generated bindings eliminate runtime signature mismatches while requiring a longer migration and API reshaping.

AI-written summary · about

  1. 0:00Introductions and agenda
  2. 1:21What is Hyperlight?
  3. 7:28Hyperlight Rust API
  4. 10:35Hyperlight C# API
  5. 13:24Why migrate to Rust?
  6. 17:02Migration strategy
  7. 19:03Memory management lessons
  8. 21:04WebAssembly Interface types
  9. 27:32Key takeaways
  10. 31:15Community and closing
  11. 33:33Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.