Live data from Hacker News

LibreOffice running natively in the browser via WebAssembly

lab.allotropia.de

51–60 of 216 posts

Re: LibreOffice running natively in the browser via WebAssembly

#54
post #38

In Safari on iPadOS and MacOS, after a minute or two of downloading, I got the following message: Application exit (TypeError: Cannot convert "undefined" to int) The page did finish loading and compiling in Chrome on my Mac. Menus, text input, etc. seemed to work but were sluggish, just as the standalone LibreOffice was for me on my ten-year-old MacBook Pro. (It works fine on my M1 Mac mini.)

M1 Mac in Firefox, it was very sluggish when it ran (dragging a window around was about 1FPS), but it did run.

Re: LibreOffice running natively in the browser via WebAssembly

#55

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/

took me 2 hours to load... LOL

Re: LibreOffice running natively in the browser via WebAssembly

#56
So... I still use Apache OpenOffice, but it takes about 30 seconds to Rosetta itself every time I launch it on an M1 Mac. For some reason it never caches. The load time on this was actually about the same. I'd try it again from my desktop, but it pains me to think of whoever's paying for the bandwidth on it today.

Re: LibreOffice running natively in the browser via WebAssembly

#57
post #45

This doesn't seem to be working for me in Firefox or Safari on an M1 mac. Has anyone else had any success or is it only working on Chrome?

I'm having intermittent success in Firefox on Linux. It loaded successfully once, but most of the time fails with "Module.instantiateWasm callback failed with error: out of memory" in the console.

Re: LibreOffice running natively in the browser via WebAssembly

#58

So... I still use Apache OpenOffice, but it takes about 30 seconds to Rosetta itself every time I launch it on an M1 Mac. For some reason it never caches. The load time on this was actually about the same. I'd try it again from my desktop, but it pains me to think of whoever's paying for the bandwidth on it today.

Why in the world don't you switch to Libre Office?

Re: LibreOffice running natively in the browser via WebAssembly

#59
post #52

Oh man.. Incredible. eBPF, WebAssembly are going to change the software landscape significantly. Question - if whole office suite can be loaded, I suppose Figma would already be doing WebAssembly?

> Figma would already be doing WebAssembly

Yes, they have been for a while.

This is their article from 2017 talking about it. I can't find any recent ones.

https://www.figma.com/blog/webassembly-cut-figmas-load-time-...

Re: LibreOffice running natively in the browser via WebAssembly

#60
post #52

Oh man.. Incredible. eBPF, WebAssembly are going to change the software landscape significantly. Question - if whole office suite can be loaded, I suppose Figma would already be doing WebAssembly?

Yes, Figma is mostly C++ compiled to WASM with a bit of react on the side for things like the menu. Basically, all the bits that matter are C++.
Post reply on HN