C# can be compiled to WASM.
That is automated for "Blazor" type of .NET projects
but it can be done even independently!
The end result is also very small, without dependencies.
WASM may (will!) very well become "new Docker",a lightweight secure platform to run any code anywhere!
Using C# Web Assembly without using Blazor*
"All in all this loads just over 70KB of resources over the wire and uncompressed that is just over 300KB."