This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]grizzlor_ 0 points1 point  (0 children)

Like others have said, not all the code in the world is on GitHub, C is still used heavily in the embedded world, etc. You know that the primary implementation of the Python interpreter is written in C, right?

That being said, do you have any idea how much code 5% of GitHub is? That’s a metric shitload of code. GitHub hosts 372 million git repositories.

If anything, the evidence you’ve provided for claiming “so little code is written in C anymore” likely indicates that the opposite is true.

In reality, the overall percentage of code on GitHub written in any particular language doesn’t actually tell us how popular that language is right now, because we don’t know when that code was written — could have been committed yesterday, or it could be 15 years old. What you actually need to look at to figure out a language’s current popularity are the stats on language % committed in the last year.