But for all other languages there are easy compilers. Which is why WASM, apparently, is used with such languages mostly[1]
I'd expect that these runtimes can be both distributed with browsers when they become really popular, and can be reduced in size. E.g. Python's runtime is relatively large and ships with a large stdlib. Most of which won't be needed in your code, so I'd expect it to be possible to compile a runtime that only includes what your code really needs, for example.
[1] https://blog.scottlogic.com/2022/06/20/state-of-wasm-2022.ht...
Except, you know, WASM has zero access to browser APIs, and all interactions have to go through JavaScript.
And on top of that you need to load your language's entire runtime to make it work.
True, and we have to wonder why is this still the case?
Of course someone did. Check out Blazor. :)
https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blaz...
Not really since you can't manipulate the DOM from WASM.
The "writing it to screen" is often a rather thin layer. At least in my projects.