3 ms·
> And even if it were accomplished in a central open source library like Flutter, that adds a considerable amount to the package size of any application. The d
by peutetre 2y ago
> And even if it were accomplished in a central open source library like Flutter, that adds a considerable amount to the package size of any application.
The download isn't much different to a typical website. That Flutter demo in wasm is 2 megabytes.
Avalonia UI's WebAssembly uses canvas in C#: https://avaloniaui.net/ https://avaloniaui.net/
Uno Platform's WebAssembly implementation uses the DOM rather than drawing to canvas: https://platform.uno/ https://platform.uno/
Uno's philosophy is to use platform native controls. The benefit is that you get platform native characteristics, the cost is it will never be exactly the same in each browser and platform.
- jazzypants 2y agoYou're joking, right? A 2mb bundle is *absolutely unacceptable*. People complain about React which is less than 100kb minified and gzipped. This website doesn't even include any images or anything...
- peutetre 2y agoIt's clearly not. Real world applications exist today. Here's one: https://earth.google.com/ https://earth.google.com/
- emseetech 2y ago2mb for Google Earth might be fine, but Google Earth is not your typical web app. A 2mb base floor before any code or assets is not acceptable for most use cases.