4 ms·
Even with a fast connection, it takes a very long time. I'm guessing the site is overloaded as the peak was a few tens of Mb/s, and generally much slower.
by lokedhs 5y ago
Even with a fast connection, it takes a very long time. I'm guessing the site is overloaded as the peak was a few tens of Mb/s, and generally much slower.
- Epa095 5y agoMakes me wonder if it is possible/usefull to make the download a two step process, first download a small wasm bittorrent client, then use it to download (and share) the 300mb file.
- hobo_mark 5y agoWebtorrent already exists, and does not require wasm. https://github.com/webtorrent/webtorrent https://github.com/webtorrent/webtorrent
- LtdJorge 5y agoCould WebRTC be used directly here?
- RReverser 5y agoOr it could apply gzip/brotli + optionally wasm-opt and cut the size ~5-6x: https://twitter.com/RReverser/status/1494435774003093515 https://twitter.com/RReverser/status/1494435774003093515
- vanviegen 5y agoIt took about 20s for me, with the fans spinning up around halfway through. Once loaded it feels fairly usable, considering...
- mofosyne 5y agoDoes make you wonder what other optimization can be done. Maybe the whole thing doesn't have to be loaded in immediately.
- dspillett 5y agoSuch lazy loading might be difficult to retrofit into an application designed for an environment where it can load a lot from disk to RAM quickly and has never (IME) been well design in terms of such resource use. Some lazy loading could probably be done relatively easily where OO does on-demand load libraries, but that would significantly resource apparent in-use performance if truly done live so you'd want to background load the optional parts once the immediately needed ones are done. I'm guessing that this is a straight compile to WASM with the minimal changes needed to things that would otherwise break completely in the different environment.
- GeorgeHahn 5y agoAutodesk has shared some information about how they solved this when building AutoCAD Web, which is a wasm app derived from their desktop codebase. Video: https://www.infoq.com/presentations/autocad-webassembly/ https://www.infoq.com/presentations/autocad-webassembly/