4 ms·
MS also have their own take on WebAssembly https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor
by cryptozeus 7y ago
MS also have their own take on WebAssembly
https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor
- resoluteteeth 7y agoThat's something different. Blazor compiles c# to webassembly to run in the browser. This software (Wasmtime) allows you to run webassembly code from within .net.
- giancarlostoro 7y agoSo in theory you could run Blazor on Wasmtime?
- bob1029 7y agoYou might as well skip the middle man and use server-side blazor.
- cptskippy 7y agoYes and that's like going out the front door and coming in the back door to go from the Kitchen to the Den.
- giancarlostoro 7y agoI'm not advocating anybody do that, but it's a fun experiment to think about. I've been intrigued about WebAssembly more than ever when I read a comment here on HN that the specs very generic allowing it to be used even outside the web.
- anon73044 7y agoI'll take a WebAssembly desktop app over an Electron desktop app any day of the week
- erk__ 7y agoYou can always run webassembly inside of electron :P Though I agree it could be a nice way to make software avaiable on all platforms.
- giancarlostoro 7y agoThe sweet spot would be something like Sciter supporting WebAssembly.
- pythonaut_16 7y agoWhich makes it a good demonstration of both technologies. Kind of like using Google translate to go from English -> Something -> English. In theory a perfect translation would give you back your original input exactly. Of course this should be more feasible with programming languages than with human languages.
- recursive 7y ago> Blazor compiles c# to webassembly to run in the browser. Last time I looked, blazor compiles c# to MSIL just like normal, but also provides a wasm runtime for MSIL.
- pjmlp 7y ago.NET 5 will support WebAssembly directly. At least that is part of what was communicated so far.
- DougWebb 7y agoActually, Blazor is a compilation of the C# runtime (CLR) to webassembly, and a mechanism for downloading standard C# dll assemblies to the browser to execute there. The C# code is compiled normally; it doesn't know/care that the CLR is running in a browser rather than on a Windows desktop.
- cryptozeus 7y agoYeh I meant Blazor is also another option if going with .net platform