Live data from Hacker News

LibreOffice running natively in the browser via WebAssembly

lab.allotropia.de

121–130 of 216 posts

Re: LibreOffice running natively in the browser via WebAssembly

#121

Earlier quoted context omitted.

You encourage Apple to implement a sandboxing API and a Linux compatibility layer. Even Windows has made progress with WSL.

Fuggedabout it. That would undermine their whole business model. Knowing Apple, I wouldn't be surprised if they remove WASM support from mobile Safari on the grounds that it's "bad for battery life".

No post body was provided.

Re: LibreOffice running natively in the browser via WebAssembly

#122
post #12

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/

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.

It took about 20s for me, with the fans spinning up around halfway through. Once loaded it feels fairly usable, considering...

Re: LibreOffice running natively in the browser via WebAssembly

#124
post #111

I wonder if title should say "in Chromium-based browsers" rather than "in the browser". Especially when it doesn't run in Firefox or Safari.

It runs relatively well in Firefox on Android, though the UI latency is a bit higher than using the Chromium engine. If Firefox fails, you should check your privacy/scripting settings, because it's working fine for me even with privacy-preserving addons installed. Of note is that if you're on iOS, all browsers must use Safari as a rendering engine by Apple's decree, so any browser you try is actually just Safari with…

> Apple's WASM size restrictions

What are those? I searched for that and I got no relevant results

Re: LibreOffice running natively in the browser via WebAssembly

#125

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

Is Electron the baseline to compare to these days, instead of an actual native app?

I meant Electron brought webapps to the Desktop. Now Web Assembly seems to bring native apps to the browser.

Re: LibreOffice running natively in the browser via WebAssembly

#126
post #12

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/

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.

Does make you wonder what other optimization can be done. Maybe the whole thing doesn't have to be loaded in immediately.

Re: LibreOffice running natively in the browser via WebAssembly

#128

Earlier quoted context omitted.

I tried it awhile back, but it's also extremely slow on an M1 and I found the UI issues even more annoying than the ones I was used to in OpenOffice.

As far as I understand, apache open office is not really in active developement, unlike libre office. So maybe try it again at some point. (the main developers left open office to fork it as libre office, after oracle aquired sun and open office with it, but destroyed it and after it was burned and pretty much without contributers, donated the name to the apache foundation, who for reasons unknown to me, do not want…

About the reaons of the not happening merger between open office and libre office, it might be because of license issues. LibreOffice is with copyleft and OpenOffice switched to dual licence

https://mobile.twitter.com/ApacheOO/status/13164228292026040...

Frustrating.

Re: LibreOffice running natively in the browser via WebAssembly

#129

Earlier quoted context omitted.

Is Electron the baseline to compare to these days, instead of an actual native app?

I meant Electron brought webapps to the Desktop. Now Web Assembly seems to bring native apps to the browser.

So the next step would be to write "electron-browserify.js" which emulates a JS runtime in browser so you can run Electron apps remote.

Re: LibreOffice running natively in the browser via WebAssembly

#130

I started experimenting with Go-WASM recently and learnt that writing non-blocking code is very crucial, Timer even inside a Goroutine blocks & crashes WASM. Leading me to use unreliable JS timers(albeit mitigating it with a worker) and performing only non-blocking compute on WASM. Is this just a consequence of using Go for WASM(i.e. lack of WASM threads), What are people who built LibreOffice in WASM or Doom3 using?…

WebAssembly is having/going to have threads https://github.com/WebAssembly/threads

Go hasn't enabled it since it's still in proposal stages[1], Hence my question was regarding it's implementation using other languages and general experience of it.

[1] https://github.com/golang/go/issues/28631

Post reply on HN