I didn’t realise Swift in WebAssembly has come as far as it has. I’ll be interested to try it out, I’ve used Rust before now but Swift is definitely easier to work with.
From that post: "Shared Swift code: 1.47 million lines (66% of the web app, 34% of the iOS app)"