Language Trends on GitHub
github.com
github.com
I really am not fond of the trend of "arbitrary rankings" a lot of startups have been using recently as content marketing to create statistical analyses that cannot be questioned.
I could reverse-engineer the ranking chart using the GitHub Archive on BigQuery to check it, but I have no idea how to actually determine the statistic for ranking.
Source: I ran the query.
SELECT repository_language, COUNT(*) as num_repositories
FROM [githubarchive:year.2014]
WHERE type="CreateEvent"
AND IS_EXPLICITLY_DEFINED(repository_language)
GROUP BY repository_language
ORDER BY num_repositories DESC
LIMIT 10
which returns the top languages in 2014 by # of repositories created, per your statistic.The output is:
JavaScript 1273811
Java 930359
Ruby 769712
Python 630549
PHP 601101
C 473113
CSS 445501
C++ 355996
C# 183349
Objective-C 165102
Which doesn't completely match up with the order in the chart for 2014. (Positions for Python and PHP are reversed)
> The rank represents languages used in public & private repositories
The delta is due to private repository usage influencing the rank.
Agreed, does not make much sense if it isn't a weighted average. A simple count could very well be littered with Hello-world repos (I've found a lot of those, in various languages) by people who are 'trying' github on.
It would also make sense to weight in the date a project started. Newer (big) projects would then weight higher then older (big) projects.
So I think taking in account the number of lines and age together is a good way to really visualize trends.
What matters much more to me is that language number 40 suddently find itself at 20, for example. To really plan for the future we need to peek at the nascent trends in small-language land. I'm much more interested in Ocaml, Julia, Nim, Rust, or Lua, even Cuda, OpenCL, Chapel or Cilk, than I am in Python, Java/script, or (sigh) CSS.
http://redmonk.com/sogrady/2015/07/01/language-rankings-6-15...
(Donnie used to be with RedMonk as well.)
That's why both Github and Travis CI are coded in Ruby,hey ?
http://www.quora.com/Why-did-twitter-move-away-from-Ruby-on-...
count | avg/day
JavaScript..214,741.|.379/day.[Bower + npm]Java..........114,860.|.108/day.[MAVEN]
Ruby.........106,195.|..50/day.[Rubygems]
Go..............86,512.|.299/day.[GoDoc]
PHP.............68,276.|..99/day.[Packagist + Pear]
Python.........64,865.|..56/day.[PyPI]
Modulecounts offers info for more languages, I just did a TL;DR
EDIT: is there a good way to present data on HN?
Java/JavaScript: lol, no you ain't!
PHP: whatever...
UPDATE: I'm assuming the ranking is based on the LOC number. Might be wrong since, sadly, there is no mention on how languages are ranked...
As it excludes forks, I have doubt about the data representing the actual number of repositories for the language.. as I have seen many forks doing better then their original repos..
I think CSS and PHP are tricky. HTML file are sometimes recognized as PHP files. And CSS, it hardly a general purpose language.
Less people using C/C++ just means less security vulnerabilities as far as I can tell. Not entirely sure why C# is listed but not Java here.
Because we are starting to neglect useful and important languages that shaped both our thinking and engineering. Instead, we use languages that babysit us at the expense of expressiveness and speed. Not a fan at all.
Less people using C/C++ just means less security vulnerabilities as far as I can tell.
Yeah, better rewrite Linux in CSS to make it secure. I heard CSS is turing-complete if you click through instructions, so it's possible!
Not entirely sure why C# is listed but not Java here.
Because there's more Java than CSS.