~/talk

Transpiling WebAssembly modules into .NET assemblies

Talkat DotNext 2020 Piter · 2020-06-15..06-18· [webassembly, dotnet]
name:Eric Sink
links:none on file
slides:none on file

wasm2cil converts a WebAssembly module into a .NET DLL by translating Wasm instructions to CIL and providing WASI implementation in C# for system calls so the DLL is native not interpreted; demos compile a Rust raytracer (cargo wasi) and run it via Wasmtime and Wasmer, then transpile to raytracer.dll and cowsay.dll pulled from wapm using wasm2wat, ildasm and Mono.Cecil; outputs match visually and one timing shows twice as fast for the transpiled DLL.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:30WebAssembly basics
  3. 2:34WebAssembly System Interface
  4. 5:01Compiling to WebAssembly
  5. 6:24Running WebAssembly modules
  6. 7:48Demo: Rust ray tracer with WASI
  7. 15:02Introducing wasm2cil project
  8. 17:10Demo: Transpiling to .NET
  9. 21:06How wasm2cil works
  10. 33:13WASI implementation in .NET
  11. 41:01Performance analysis
  12. 46:05Future of WebAssembly
  13. 50:21Demo: WebAssembly package manager
  14. 55:23Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.