2 ms·
But C# has the ability to compile to WASM and run in the browser, using the Mono WASM runtime that's part of the .NET core repo now. This is what underpins Bla
by gavinray 3y ago
But C# has the ability to compile to WASM and run in the browser, using the Mono WASM runtime that's part of the .NET core repo now.
This is what underpins Blazor.
https://github.com/dotnet/runtime/tree/main/src/mono/wasm https://github.com/dotnet/runtime/tree/main/src/mono/wasm
Example C# app running in a browser:
https://github.com/dotnet/runtime/blob/main/src/mono/sample/wasm/browser-advanced/Program.cs https://github.com/dotnet/runtime/blob/main/src/mono/sample/...
- moonchrome 3y agoYou can technically use nail clippers to mow your lawn as well. Deploying GC language with a huge runtime and stdlib to WASM sounds like a bad idea.
- pjmlp 3y agoEver heard of Flash? Or for something more modern, Flutter.
- moonchrome 3y agoFlash was abandoned because it was horrible. Flutter is basically cost center app framework (like xamarin) - not something you model performant software after.
- pjmlp 3y agoFlash was abandoned because Apple said so. Flutter is doing quite alright, much better than Xamarin, with the MAUI reboot.