Earlier quoted context omitted.
It's mostly written in C++, and the bulk of the effort which made this possible should probably be credited to Qt: https://wiki.qt.io/Qt_for_WebAssembly
Qt clearly deserves the credit for having a WASM runtime that gets us a working GUI toolkit. But this was still a gigaton of work to pull off inside LibreOffice (starting many years ago, actually natively using Qt as one of the GUI toolkits in the code, over to porting the build system, how the mainloop runs etc etc). Also note that using Qt here is mostly a shortcut to get a demo out, longer-term we'd want to use na…
LibreOffice running natively in the browser via WebAssembly
141–150 of 216 posts
Re: LibreOffice running natively in the browser via WebAssembly
#142I remember when LibreOffice was called Star Office and would run like molasses on a Celeron 300A OC to 450mhz machine. The office suite would take up most of the ram and eventually crash due to system resource exhaustion. Now we can run the whole thing in a browser like it's Minesweeper. Wow.
Now I only use Figma - and never open Photoshop (for UI design). I rarely open MS Office, use google docs without thinking.
Re: LibreOffice running natively in the browser via WebAssembly
#143I 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…
What is this? I paid for x GB of RAM and now Apple prevents me from using it?
Edit: abstracted away actual memory size.
Re: LibreOffice running natively in the browser via WebAssembly
#144Oh 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?
Sorry, but out of the loop here. What is the relationship between Figma and WebAssembly? Why would Figma already being doing it?
Re: LibreOffice running natively in the browser via WebAssembly
#145Application exit (RuntimeError: Aborted(Assertion failed: pTrans, at: /home/libo/src/core/vcl/qt5/QtClipboard.cxx,104,getContents))
Re: LibreOffice running natively in the browser via WebAssembly
#146I wonder if title should say "in Chromium-based browsers" rather than "in the browser". Especially when it doesn't run in Firefox or Safari.
Re: LibreOffice running natively in the browser via WebAssembly
#147Earlier quoted context omitted.
> Runs shockingly smoothly once it starts, though. On what hardware? I've got a 2019 MacBook Pro with i9 and 32 GB of RAM, and there's a noticable delay (I'd guess 200~400-ish miliseconds) when clicking any elements with Firefox or Chrome.
Works fine on my current work windows laptop, 16gb ram with some budget low electricity use processor. Probably just apple not supporting anything web related as usual.
The comment you’re replying to specifically mentioned Firefox and Chrome, no mention of Safari.
Re: LibreOffice running natively in the browser via WebAssembly
#148I typed in two words, then tried to copy/paste: Application exit (RuntimeError: Aborted(Assertion failed: pTrans, at: /home/libo/src/core/vcl/qt5/QtClipboard.cxx,104,getContents))
Re: LibreOffice running natively in the browser via WebAssembly
#149The fact that it runs at all is an amazing achievement. Kudos to the team that managed to shoehorn it in. What is likely to be seen as a bug by others, is actually the thing that gives me hope. There's no way for a WebAssembly program to access the host file system. I hope it stays that way. If the Wasm host can, in a foolproof and easy to verify way, offer the user dialog boxes to read/write single files... we'd hav…
Re: LibreOffice running natively in the browser via WebAssembly
#150Earlier quoted context omitted.
300 MiB. & … "a bit" — it takes nearly 20 seconds on "Gigabit" fiber. (312 MiB in 19.22s, or 136 Mbps.) Runs shockingly smoothly once it starts, though.
Progress bar would be nice, without these comments I would have no idea whether to wait or not thinking that maybe it got stuck in a loop downloading the same thing over and over again or something.