|
|
Log in / Subscribe / Register

Apache NetBeans Incubator Proposal

Apache NetBeans Incubator Proposal

Posted Sep 14, 2016 5:17 UTC (Wed) by eru (subscriber, #2753)
In reply to: Apache NetBeans Incubator Proposal by roc
Parent article: Apache NetBeans Incubator Proposal

100M lines of code for Netbeans sounds way too high.

It certainly is far too high. I got 9 905 776 lines of Java from a copy of Netbeans 8.0 sources I happened to have sitting on my PC. This figure ignores XML and other non-Java files, but most of Netbeans is written in Java. I don't have time for a more precise accounting, but I think this was enough to determine the quoted Openhub figure must be wrong by an order of magnitude.


to post comments

Apache NetBeans Incubator Proposal

Posted Sep 14, 2016 5:44 UTC (Wed) by hunger (subscriber, #36242) [Link] (3 responses)

There are 16 repositories ananlyzed and summed up under "netbeans" by openhub. On the Apache mailing list there is talk about having to migrate 33 repositories.

So they do have move a *lot* of code into Apache. Somebody has to know all that code -- if only to decide what can get scrapped and what needs to be kept.

But even assuming about 10 million lines of code as suggested in this thread earlier: That would still put it squarely above Libreoffice (which is listed with 5 repositories, totalling about 7.8 Million lines in all those repositories).

Apache NetBeans Incubator Proposal

Posted Sep 14, 2016 12:53 UTC (Wed) by Wol (subscriber, #4433) [Link] (2 responses)

Don't forget the massive code cleanup that went on in LO. How big is the current release, compared to OOo as thrown over the wall by Oracle?

IFF Apache do a proper cleanup on netbeans, the size of the code base could well shrink dramatically ...

One only has to look at the linux kernel for an example of a project with a small central core and a large periphery - most of the linux code is device drivers which are to no small extent "write and forget".

I guess LO has a similar core of routines which are used across all its programs where most of the work/churn goes.

And if netbeans is anywhere similar, again the core is going to get a lot of tlc and the rest? Well if it bit-rots it'll get thrown out, and if it gets tlc it'll improve. But if Oracle looked after netbeans any way like they look after VirtualBox, or looked after OOo, there'll certainly be plenty of room for such a cleanup.

Cheers,
Wol

Apache NetBeans Incubator Proposal

Posted Sep 14, 2016 14:49 UTC (Wed) by eru (subscriber, #2753) [Link] (1 responses)

One consequence of Netbeans being written in Java and Swing is that there probably is less redundant reinvention of basic infrastructure to clean up. OOo came with its own GUI library and (from what I have heard) several implementations of the string type... But there may of course be other kinds of waste hiding there.

Apache NetBeans Incubator Proposal

Posted Sep 14, 2016 15:43 UTC (Wed) by halla (subscriber, #14185) [Link]

I remember this article about the Star Division StarOffice toolkit:

http://www.drdobbs.com/cpp/examining-the-starview-applica...


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds