Well, I did a git clone to fetch the LibreOffice source. It appears to
be a mixture of Java, C, and C++. Just some stats:
$find . -name '*.c' | wc
108 108 3908
~/source-oem/libreoffice-core$find . -name '*.cpp' | wc
26 26 1360
~/source-oem/libreoffice-core$find . -name '*.java' | wc
3329 3329 206921
~/source-oem/libreoffice-core$find . -name '*.cxx' | wc
9562 9562 405662
And, for "fun", I ran: for i in c cpp cxx java;do echo "$i";wc $(find
. -name "*.${i}");done |& tee mckown
to get the number of lines of code in each of those.
c == 45,322 lines
cpp == 4,600 lines
cxx == 5,162,525
java == 616,578 lines
So C++ "wins" by about a 3:1 ratio of number of files and 10:1 ratio
in terms of lines of code over Java.
On Tue, Sep 9, 2014 at 6:58 PM, <[email protected]> wrote:
> On 2014-09-08 13:07, John McKown wrote:
> <snip>
>>
>> Open/Libre Office is Java based.
>
> <snip>
>
> Are you 100% about that? When I used to be involved
> with OpenOffice (years ago, prior to LibreOffice
> split), the main code was C++, with Java used for
> some things. OpenOffice Base was written in Java
> for example.
>
> I *think* the Java usage came about politically
> because Sun (back in the day) decided Java _going_
> to be the language of choice. Regardless of developer
> sentiment. So they went about developing / bolting on
> all of the new pieces with it.
>
> That's my dodgy memory of things anyway. LibreOffice
> might have changed things, etc. ;)
>
> Regards and best wishes,
>
> Justin Clift
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
--
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan
Maranatha! <><
John McKown
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users