These are all guesses, but here are some plausible answers:
- code of 2011 has almost all perished whereas that of 2010 has not.
In 2010 the code was mostly really basic things that you need to bootstrap a language – parsing, core C runtime functionality, how to do arithmetic on integers and floats, etc. – there’s not much reason to change these once they work. By 2011, we were building out an initial cut of a standard library which is more malleable and definitely doesn’t have one “right” answer. So I’m guessing most of the initial stdlib code has been replaced over time. By the same sort of thinking, 2009 was pretty much just “sketching” and prototyping, so almost all of that code was replaced pretty quickly.
The mini spike in 2011 was @viralbshah checking in the source of msun (and a bunch of HTML pages where wget had gotten a 404 or something ). That was on August 8th and then after some work getting it into shape and working, he moved the whole thing into a separate repo as OpenLibm on August 13th.
- what’s that huge spike in 2012?
- Feb 2012: Julia announced, afterwards LOCs increase sharply.
- Feb 2013: 0.1 released: this is around the end of those big drops in LOCs after the huge spike
Back then we didn’t have packages, so there was a bunch of additional package-like code checked in the JuliaLang/julia repo under the
- editor support
- plotting (Winston)
- bindings to graphics libraries (Cairo)
- data structures (trie)
- color support
- image formats (DICOM, FITS)
- ode solvers
- Rmath (that one took a while to get rid of!)
- a web server!
- linear programming
- statistical distributions
- HDFS support
- zlib support
- Tk support
- argument parsing
- WAV file support
- ICU library bindings
- JSON parsing
- text wrapping
This was getting pretty out of control, so I wrote a package manager and on Nov 20th deleted a ton of stuff that had been moved into packages. We kept on moving things into packages so that by Julia 0.1 most of this lovely menagerie of stuff was no longer in Base Julia.
Somewhere in that same time period, Mike Nolta moved the manual from the JuliaLang.org website to the julia repo as well. Interestingly enough, this move was from Markdown hosted on GitHub to RestructuredText hosted on Read The Docs, which is the exact inverse of what we just did today.
- LOCs was around 50,000 in 2013 and 2014, then doubled in 2015.
I suspect a lot of this is increased test coverage and lots more documentation. Overall the growth in LOC looks roughly linear. I’d be interested in seeing this analysis broken down in
- Aug 2014: 0.3 released, before quite a big drop.
Not sure what this is. Maybe some other chunk of functionality that we moved out? Anyone remember? I don’t see anything in the release notes that jogs my memory.
- Now: the imminent merge of #18588 would produce a visible dent of -20,000 LOCs.
That’s the way @jeff.bezanson rolls – his net LOC contribution to the project is negative . #18588 is the best kind of change: it adds functionality, generalizes things, removes tons of code.
Anyone know what the spike in early 2016 is? Looking through the git log, I don’t see anything obvious.