4 ms·
I'm not sure where this idea has come from, but WASM is designed to run alongside Javascript. It isn't replacing it.
by SquareWheel 7y ago
I'm not sure where this idea has come from, but WASM is designed to run alongside Javascript. It isn't replacing it.
- k__ 7y agoThis. It's funny tough, people are starting to pump giant runtimes over the air just to get C# running on the frontend, while people already complaining about JS bundle size smh.
- enlyth 7y agoIndeed, I tried Blazor and a simple Hello World page loaded about 7 megabytes of DLLs in the browser just to show some text.
- GiorgioG 7y agoBlazor (WASM) has not been released yet - they're working on optimizing payload size.
- enlyth 7y agoI didn't know this, I was just trying out the project because it seemed interesting. If they can get the bundle sizes down it looks like it could be a great developer experience.
- GiorgioG 7y agoAs of the latest preview of Blazor, the boilerplate template (Release build) app loads a total 4.92mb, of which ~4.5mb is the runtime. It's not ideal, but if they can manage to get that to below 3mb it's "good enough" for my purposes. As an Angular developer, at work our app bundles are no smaller than 3mb these days.
- k__ 7y agoDid they plan to get rid of this somehow? What about lazy loading (runtime and/or userspace code)