That's okay; _using_ WebAssembly is getting easier bit by bit. Features like this one allow the high level programming language features you know and love to be implemented efficiently behind the scenes.
Same for WebGPU.
So I think WASM is doing this exactly the right way as long as it stays powerful and flexible at the core.