so now we have come full circle with a jvm (via wasm) in browsers again
LibreOffice running natively in the browser via WebAssembly
151–160 of 216 posts
Re: LibreOffice running natively in the browser via WebAssembly
#152Earlier quoted context omitted.
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…
> This means you can't run this on iOS, due to Apple's WASM size restrictions, regardless of the browser you try. 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
#153Earlier quoted context omitted.
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
#154I 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?…
Re: LibreOffice running natively in the browser via WebAssembly
#155Re: LibreOffice running natively in the browser via WebAssembly
#156How is this possible?
Re: LibreOffice running natively in the browser via WebAssembly
#157Earlier 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.
> 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.
Re: LibreOffice running natively in the browser via WebAssembly
#158Earlier quoted context omitted.
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…
> This means you can't run this on iOS, due to Apple's WASM size restrictions, regardless of the browser you try. 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
#159Earlier quoted context omitted.
Does make you wonder what other optimization can be done. Maybe the whole thing doesn't have to be loaded in immediately.
Such 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 backg…
Video: https://www.infoq.com/presentations/autocad-webassembly/
Re: LibreOffice running natively in the browser via WebAssembly
#160I wonder if title should say "in Chromium-based browsers" rather than "in the browser". Especially when it doesn't run in Firefox or Safari.