WASM as a plugin runtime — what nobody warns you about
The pitch is irresistible: a sandbox, near-native speed, every language compiles to it. Just embed a runtime, expose some functions, ship plugins.
The reality involves four layers of ABI, two flavors of memory, two flavors of strings, and a six-hour Saturday spent staring at a segfault that turned out to be an off-by-one in someone else’s wit-bindgen.
#wasm#rust#tooling