3 ms·
Not sure how easy that would be. Emscripten converts C/C++ code to Javascript, but LibreOffice is written in Java. Theoretically it should be possible as Emscr
by akie 11y ago
Not sure how easy that would be. Emscripten converts C/C++ code to Javascript, but LibreOffice is written in Java.
Theoretically it should be possible as Emscripten actually converts LLVM bytecode to Javascript, and you seem to be able to convert Java bytecode to LLVM bytecode, but Emscripten's [portability guidelines](http://kripken.github.io/emscripten-site/docs/porting/guidelines/portability_guidelines.html http://kripken.github.io/emscripten-site/docs/porting/guidel...) seem to say that you cannot compile multithreaded code, which I assume LibreOffice does use...
- zx2c4 11y agoLibreOffice is written in C++, actually. There are some small components written in Java, but they're optional, and you can run LibreOffice on a system that does not have Java.
- osullivj 11y agoLO's answer to Microsoft's COM is UNO, and much existing UNO code and samples is in Java. So people often get the impression that LO is Java inside.
- akie 11y agoAh, I learned something today :-) I must have been mistaken because Open Office was always insisting that I install Java for it to work, so I guess I misremembered. Thanks!
- vidarh 11y agoIt would ask for it, but it was never required to work - I've run Open Office, and Star Office before it, on many systems without Java. It just disabled some functionality.