I 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.
LibreOffice running natively in the browser via WebAssembly
191–200 of 216 posts
Re: LibreOffice running natively in the browser via WebAssembly
#192Earlier quoted context omitted.
You may want to file a bug on Go - I believe goroutines should work, including swapping between them. The code is emitted in a form that allows that (switch-in-a-loop pattern). Another thing you can try is TinyGo, whch uses Asyncify (a general wasm transformation to allow blocking) for goroutines, https://twitter.com/TinyGolang/status/1461364896197578759 Doom3 uses Asyncify in some parts of the event loop, for simila…
You're right, I think I should file a bug. The Go library I need(ebiten) isn't compatible with TinyGo, I did try it for the reason you mentioned and to reduce size. > Doom3 uses Asyncify in some parts of the event loop, for similar reasons (blocking code). I'm not sure if LibreOffice does as well, but it might. Thanks! That's what I wanted to know, So it's certainly possible to write asynchronous code using C++ and R…
It does have some overhead atm, which a new spec (stack switching) will remove eventually.
Re: LibreOffice running natively in the browser via WebAssembly
#193Re: LibreOffice running natively in the browser via WebAssembly
#194It doesn’t work on iPhones…
Re: LibreOffice running natively in the browser via WebAssembly
#195Re: LibreOffice running natively in the browser via WebAssembly
#196Earlier quoted context omitted.
You don't need a JVM to run Java code in the browser since there's a VM already. There's TeaVM which compiles Java bytecode to WASM.
It's true, but it is a Java subset - not a complete Java SE.
Re: LibreOffice running natively in the browser via WebAssembly
#197Re: LibreOffice running natively in the browser via WebAssembly
#198Re: LibreOffice running natively in the browser via WebAssembly
#199What the hell. This feels basically native?! I had no idea WebAssembly was this far developed. This feels like electron in reverse, and GOOD.
What's your environment? It feels like incredibly poor performance for me (Firefox on macOS)
Re: LibreOffice running natively in the browser via WebAssembly
#200Earlier 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.