Le 10.10.2013 10:24, Joe a écrit :
On Wed, 09 Oct 2013 23:21:29 +0200 berenger.morel@neutralite.org wrote:Le 09.10.2013 23:04, Joe a écrit : > On Wed, 9 Oct 2013 12:52:43 -0300 > Ezequiel <ezequielandrush@gmail.com> wrote: > >> Thanks to all for your replies. I am actually pinning OO in order >> to use oldstable versions. I guess I will try to compile it an >> make my own repos. You were very helpfull. >> > > Bear in mind that OOo and LO use Java for various purposes, and > Java is > under continuous siege from the bad guys. But Java is not a dependency, it is only recommended. Those tools works fine without java. I would not even have thought half a minute to install them otherwise, and not because of security breaches in java ( which will more often be used via internet browsers, not for something like an office suite ).As I said, I'm not a power user of most of LO, perhaps it isn't used elsewhere, but it's a dependency of Base. Despite this, I had Baseinstalled without Java, but was unable to do much by way of connectingto data without it. I have a vague recollection that originally, OOo was written in Javawhich years ago was popular for writing cross-platform applications. If so, clearly LO is removing it progressively, and it may disappear fromBase at some point. I do know attitude of the US Dept. of Homeland Security towards Java, and its days anywhere may be numbered. -- Joe
Ah, no, I apologize, you were right. Base seems to have a hard dependency on Java, so I was really wrong. I have no idea why it depends on Java, but it is written in C++, as the debtags shows, as the rest of Libre/Open Office.
To be honest, I also thought that it was written in Java until recently ( well, I think I discovered that in the beginning of the year ), but someday I said that on a forum and was instantly replied that it was written in C++.
About it having be rewritten in C++ instead of Java, I do not know, I did not made any searches about that, but I strongly doubt it. C++ is as portable as Java ( just it needs to be recompiled and lacks standard portable GUI - and other features - that Java provides. But Java's standard GUI features are not the most used, as some Java dev said me. So... ). Plus, rewritten a huge... a very huge in facts, software in another language is really hard, especially if you come from a language where memory is managed by some obscure automatic mechanisms to come to language for which most of the power comes to RAII.
But my doubts can be wrong ;)About Java's security problems... honestly, the only one thing which makes it true is that it is a popular and traditional language to write portable web applets. Like windows being the main target of hackers, in fact. I do not like Java, but I have learn that performance and security issues are not a programming language's problem, but a programmer's problem. Take a look in aptitude, try the games. Some are written in C or C++ and are as "beautiful" as 90's games, and they can not be run on my modern netbook. On the other side, some Java's one works perfectly. Debian really changed my mind on a lot of wrong ideas about computer sciences :)