6 ms·
I'm pondering making a port of LibreOffice without the Java dependency (to avoid the runtime and language model overhead) with my own custom user interface/UI f
by bobajeff 11y ago
I'm pondering making a port of LibreOffice without the Java dependency (to avoid the runtime and language model overhead) with my own custom user interface/UI framework.
From this I guess I need to take and port SalInstance and write my frontend for it.
- agumonkey 11y agoHow much of Java is needed for LO ? I oddly believed it was limited to spreadsheets formulas..
- grandinj 11y agoNothing. Java is only there to run a couple of extensions, but none of the core functionality requires it.
- ZenoArrow 11y agoInteresting. I was under the impression it was mostly written in Java, looks like I was wrong. What's the majority of the code written in? C? C++?
- alexlarsson 11y agoc++
- agumonkey 11y agoSame here, hence my question. Probably because Sun bought Star Office, IIRC bundled it with SunOS and with the Java heavy marketing of the time I thought it was a Java program, even though SO is .. old : https://en.wikipedia.org/wiki/StarOffice#History https://en.wikipedia.org/wiki/StarOffice#History http://toastytech.com/guis/sol10staroffice7.png http://toastytech.com/guis/sol10staroffice7.png
- thristian 11y agoLibreOffice descends from StarOffice, an MS Office clone by a German company that was bought by Sun. When Sun bought it, they bolted Java onto it because they were Sun and they bolted Java onto everything, but Java's not integral to the operation.
- alexlarsson 11y agoJust build with --without-java
- bobajeff 11y agoThanks, now the only question is how hard will it be to use my own UI framework instead of VCL (to avoid complexity and overhead)?
- TD-Linux 11y agoI feel like if you have to ask this question, the answer is "too hard".
- bobajeff 11y agoBecause building a frontend and other missing components from scratch is hard or because the backend is tied too closely with VCL?
- TD-Linux 11y agoJust because writing a whole new GUI would be a huge undertaking. I mean, if you need to do it, don't let me stop you. But I don't think it makes sense if your goal is simply "lighter weight" (I don't even know what that means exactly)
- bobajeff 11y agoI might not need to. I just have a feeling that layering my existing framework over VCL would mean a lot of redundant and unoptimized things happening during runtime. I basically just want LibreOffice for it's mature support for Microsoft Office files. I think if I can just have that as a standalone library that would be ideal.
- icebraining 11y ago