Stuff like this is why I'm so excited about Zig :D (screenshot blatantly stolen from the spirv-backend channel on the Zig Discord)
https://discord.com/channels/605571803288698900/1105621511915700316/1305135574738407426
https://discord.com/channels/605571803288698900/1105621511915700316/1305135574738407426
Comments
Why is it better than writing a 'real' shader language like GLSL?
WASM requires a lot of JS to even be able to do anything useful. It runs in an isolated environment and can only do something interesting by interoperating with JS.