Hacker News new | ask | show | jobs
by enlyth 2365 days ago
Indeed, I tried Blazor and a simple Hello World page loaded about 7 megabytes of DLLs in the browser just to show some text.
2 comments

Blazor (WASM) has not been released yet - they're working on optimizing payload size.
I 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.
As 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.
Did they plan to get rid of this somehow? What about lazy loading (runtime and/or userspace code)