Re:LibreOffice running natively in the browser via WebAssembly
by GeorgeHahn on Wednesday February 16, 2022 @09:12AM
(#30360159)
Autodesk has shared some information about how they solved this when building AutoCAD Web, which is a wasm app derived from their desktop codebase.
Video: https://www.infoq.com/presentations/autocad-webassembly/
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 background load the optional parts once the immediately needed ones are done.
I'm guessing that this is a straight compile to WASM with the minimal changes needed to things that would otherwise break completely in the different environment.