One explanation could be large open source organizations like Apache and eclipse mirroring their code more and more on github. And all the old codehaus stuff that's been moved. Just a guess...
Also the success of Minecraft which was written in Java might be encouraging people to make their own game engines or open source their own Java mods, etc. Just an idea, not sure if it's true.
Java's picking up steam again. 8 and 9 released recently, OpenJDK is every bit as good as Oracle JDK, it's as fast as C++ these days, I'd guess a lot of libraries and things being rewritten for a new generation - eliminating old cruft, and starting new projects in modern Java.
C++/C# repositories have more or less doubled since Jan16 (from 10000ish to 20000ish) and so have Java ones (75000ish to 150000ish).
So, there is not really an uptick in terms of percentage, the rise is more apparent in Java (and Javascript) case since they were more popular in the first place.
To see the relative shift in popularity, you would have to normalize the data against the total repos, I think.
Also language popularity based on this data might not be a fair conclusion. Some languages and environments do not lend themselves to OSS. For example, how many iOS app developers (using Swift) open source their app? Another is how many C# devs are using github as their repository over the various MS technologies.
Yeah, I was a bit shocked to see Python, PHP, and Ruby not on the list. At first I noticed PHP was missing and I thought... oh no, another PHP hater... then I noticed Ruby is too. I look forward to seeing the update.
Would be interesting to see the number of lines in those JS and Java repos. I expect JS to be tons of 50 lines 'libraries' and Java to have tons of 50k lines 'libraries'.
You know what I like about this? Is that if you have an objective enough mind, you can see how awesome it is that all of these languages have so many open source projects. For people like myself (C# developer), it makes me realize I need to do more with OSS, and not just to be better than the next language.
So I took the 2016 numbers from this and used them to make this graph, using the same data but normalizing for github's growth - so its showing the % share of the overall instead of absolute #'s. It tells a different story:
That legend is 100% useless. I'm not even color blind but I might as well be given how many shades of teal are involved.
Please, please, put the labels on or near the lines if possible. I'm not asking for the full Edward Tufte treatment here, but something sane would be greatly appreciated.
As an iOS Developer, I'm surprised that there are more Objective-C repos than any other language, including Javascript, on GitHub. Does that seem surprising to anyone else?
If you look at the tables below, it is indeed Objective-C.
For Oct of this year, C is listed as 31k active repos, JS is 186k, and Obj-C is 224k. The ratio of C to JS ratios seems reasonable, so I have no reason to believe that they're C repos misclassified either.
I'm surprised too. I don't get it. iOS apps especially are not a fertile field for open source development because they can't be sideloaded. I don't understand how Objective C repos could be #1. I'd love to see a random sample of 100 projects identified as being of each language so I could compare them and see if they're all actually legitimate repos.
I don't think I've even once seen anyone linking to an Objective C repo. Other languages? All the time. Hell, this link goes to a Go repo. But Objective C? Never.
51 comments
[ 4.3 ms ] story [ 116 ms ] threadAlso, Android code is Java, so that's padding the numbers as well.
And C++ is as safe as Java these days. [1]
I wonder which claim is more optimistic. :)
[1] shameless plug: https://github.com/duneroadrunner/SaferCPlusPlus
So, there is not really an uptick in terms of percentage, the rise is more apparent in Java (and Javascript) case since they were more popular in the first place.
To see the relative shift in popularity, you would have to normalize the data against the total repos, I think.
It would be nice to see a log version of this graph (either with just the vertical axis logarithmic or both).
[0] https://opensource.googleblog.com/2015/03/farewell-to-google...
Couldn't resist; it's a Friday.
[1] https://s-media-cache-ak0.pinimg.com/564x/6a/68/e4/6a68e478a...
[2] https://en.wikipedia.org/wiki/Coffee_production_in_Indonesia...
https://docs.google.com/spreadsheets/d/1zs1pO_8Q6RASJ6Mc10kB...
EDIT I don't think one is more correct than the other, its just another perspective. I didn't mean to imply the first one is incorrect.
Please, please, put the labels on or near the lines if possible. I'm not asking for the full Edward Tufte treatment here, but something sane would be greatly appreciated.
https://docs.google.com/spreadsheets/d/1JAAfQBdKJ_2Tz0tVn7D9...
EDIT: Here's the fractions, stacked which I think is easier to look at: https://docs.google.com/spreadsheets/d/12fMABCdFtPhZf28DDY2h...
Would love to figure out why that is the case...
For Oct of this year, C is listed as 31k active repos, JS is 186k, and Obj-C is 224k. The ratio of C to JS ratios seems reasonable, so I have no reason to believe that they're C repos misclassified either.
I don't think I've even once seen anyone linking to an Objective C repo. Other languages? All the time. Hell, this link goes to a Go repo. But Objective C? Never.