This implies the massive complexity of restructuring how browser engines work, plus working around security and memory safety issues. And this work is actually being done right now, see wasm GC and Component Model