Originally, I was going to use D, but its current WASM guideline is buried under a lot of Discord threads, all while people are lazy to touch the wiki. I need to test stuff with WASM (use for scripting in applications, not browsers).
Please NO RUST!!! While I see why functional programming is useful (I even use wasmtime as my WASM engine, which is developed in Rust), but is horribly counterproductive for game development, especially if it’s opt out like in Rust.
EDIT: In the meanwhile, I’ve found AssemblyScript, which seems to be good for my usecase.
You can use Go and compile with TinyGo.
The downside of that is that you have to code in Go
That is a downside, yes…