3 ms·
I agree! WASM is very interesting. Blazor is an exciting example of an application of Web Assembly - it's starting out as .net in the browser, but you can imagi
by lukevp 6y ago
I agree! WASM is very interesting. Blazor is an exciting example of an application of Web Assembly - it's starting out as .net in the browser, but you can imagine a lightweight wasm version of the .net runtime could be used in a lot of places as a sandboxed runtime. The main .net runtime is not really meant to run unprivileged. It would be more like the UWP concept that MS made to sandbox apps for the windows App Store, but applicable to all OSes.
One thing I haven't heard much about is the packaging of wasm runtimes. For example, instead of including all of the .net runtime as scripts that need to be downloaded, we could have canonical releases of major libraries pre-installed in our browsers, and could even have the browser have pre-warmed runtimes ready to execute, in theory. So if we wanted to have a really fast startup time for .net, my browser could transparently cache a runtime. Basically like CDN references to JS files, but for entire language runtimes.
This would obviate the need for browsers to natively support language runtimes. It's conceptually a way to get back to something like Flash or SilverLight but with a super simple fallback that doesn't require any plugin to be installed.
- catmanjan 6y agoI look forward to in browser DLL hell /s I'm cautiously optimistic about blazor, it definitely makes streaming data to the Dom much easier
- k__ 6y agoBlazor seems like the only one application of WASM at the moment that goes in the completely wrong direction. People are already whining about JS bundle size and even the small .net runtimes are >60kb. Yew on the other hand seems to fit right into what WebAssembly was made for.
- rogihee 6y agoThe download size does make it hard to use for a "public" site, like a webshop. But it is a different story for an application, like an intranet solution or app like Figma. A first time download of a few MB's is not a problem, as you regularly use it. Like a desktop application. It is the first time you can develop a full stack application (client and backend) in one language in one debugging session. For C# that was possible with Silverlight. Small companies (like mine) that deliver applications and have full stack engineers can have some amazing productivity! So for my needs I'm really excited with something like Blazor, and this was only the first release.
- k__ 6y agoI understand the appeal for .net devs. I just don't think it's a good idea in general.
- blackoil 6y agoFor every person whining about 60k JS there are 10 creating 10MB web app.