Live data from Hacker News

LibreOffice running natively in the browser via WebAssembly

lab.allotropia.de

211–216 of 216 posts

Re: LibreOffice running natively in the browser via WebAssembly

#211

Note that it will download around ~300Mb of data directly to your browser, so it might take a bit to load from slow connections. Here's the related video from FOSDEM: https://fosdem.org/2022/schedule/event/lotech_lowa/

The sad part is, it could be cut very easily cut down to ~60MB with basic optimization & compression (heck, even gzip/brotli compression alone would go a long way): https://twitter.com/RReverser/status/1494435774003093515

Impressive feat, but I'm worried this small detail ruins the first impression for way too many.

Re: LibreOffice running natively in the browser via WebAssembly

#212
post #75
post #12

Earlier quoted context omitted.

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.

Makes 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.

Or it could apply gzip/brotli + optionally wasm-opt and cut the size ~5-6x: https://twitter.com/RReverser/status/1494435774003093515

Re: LibreOffice running natively in the browser via WebAssembly

#213

Earlier quoted context omitted.

Why is it against the interests of large tech companies? I get Apple, but Google is always pretty eager about the advancement of the web platform, see Chrome and Chrome OS.

Google is happy with most anything you do on the internet, as long as you do it in Chrome so they can watch.

I’d say it’s more about Google search being the front door of the internet to most people, so while internet usage is high so is Googles revenue.

Re: LibreOffice running natively in the browser via WebAssembly

#214

Note that it will download around ~300Mb of data directly to your browser, so it might take a bit to load from slow connections. Here's the related video from FOSDEM: https://fosdem.org/2022/schedule/event/lotech_lowa/

The sad part is, it could be cut very easily cut down to ~60MB with basic optimization & compression (heck, even gzip/brotli compression alone would go a long way): https://twitter.com/RReverser/status/1494435774003093515 Impressive feat, but I'm worried this small detail ruins the first impression for way too many.

Damn, you are 100% on point. I assumed it already had the optimizations applied and it was big just because of the nature of the app.

Once they get their server bill perhaps they will reconsider optimizing it!

Re: LibreOffice running natively in the browser via WebAssembly

#216
post #171

What the hell. This feels basically native?! I had no idea WebAssembly was this far developed. This feels like electron in reverse, and GOOD.

Define "this far". The toolchains for webassembly are still not trivial to use. I wish more work was done to support WASM, but it requires a lot of work from compiler developers, for each language backend, so it's still a lot of work. Not to mention that I have almost no clue how to debug a WASM build. WASM is clearly the future, but I don't think there is any company really spending money to write better WASM tools,…

> Not to mention that I have almost no clue how to debug a WASM build.

I've got you covered: https://developer.chrome.com/blog/wasm-debugging-2020/ (TL;DR use Chrome DevTools with the official DWARF integration)

Post reply on HN