Live data from Hacker News

Programming-language popularity by GitHub pull requests

lemire.me

1–10 of 73 posts

Re: Programming-language popularity by GitHub pull requests

#3
Clicking through to the underlying data, it seems that 2% of all code is written in Nix. I doubt that is the current state of the industry. For example, I doubt that 2% of programming jobs are for Nix codebases.

For that reason, I am consuming a very large salt crystal alongside this information.

Re: Programming-language popularity by GitHub pull requests

#4
post #3

Clicking through to the underlying data, it seems that 2% of all code is written in Nix. I doubt that is the current state of the industry. For example, I doubt that 2% of programming jobs are for Nix codebases. For that reason, I am consuming a very large salt crystal alongside this information.

Better than TIOBE at least, which seems to have gathered a huge amount of popularity for no good reason.

Their metric is just to search for "$LANG programming" in various engines, then assign arbitrary weights depending on the search engine used. It doesn't really measure anything, and has already been gamed intentionally, since it's so simple.

Every metric is going to have its pitfalls, but at least this one seems to be measuring something that approaches reality.

Re: Programming-language popularity by GitHub pull requests

#5
post #3

Clicking through to the underlying data, it seems that 2% of all code is written in Nix. I doubt that is the current state of the industry. For example, I doubt that 2% of programming jobs are for Nix codebases. For that reason, I am consuming a very large salt crystal alongside this information.

Agreed, but I’m looking for what’s next, not the current state of the industry or jobs. I’m riding the JS/TS wave for a while but I can already imagine improvements. If a language is rising, I’ll check it for those needs.

Nix has been getting attention among my friends. I’m still in “wait and see”. The next big thing after TS won’t be an incremental improvement. It will solve big problems like:

- Too many ways to do things. (Remove ambiguity. Instead, make choices for me so others’ code is predictable. Apple approach. Does Swift do this?)

- Naming suffering from backwards compatibility. (For…in vs for…of etc.)

- AI integration?

PHP is losing to JS due to 7.0 or whatever. Scala surprised me!

Re: Programming-language popularity by GitHub pull requests

#6
post #3

Clicking through to the underlying data, it seems that 2% of all code is written in Nix. I doubt that is the current state of the industry. For example, I doubt that 2% of programming jobs are for Nix codebases. For that reason, I am consuming a very large salt crystal alongside this information.

None of the charts say they represent fraction of code in existence, right? It’s just GitHub PRs, issues, stars, etc.

Or did I miss something?

Re: Programming-language popularity by GitHub pull requests

#9
post #3

Clicking through to the underlying data, it seems that 2% of all code is written in Nix. I doubt that is the current state of the industry. For example, I doubt that 2% of programming jobs are for Nix codebases. For that reason, I am consuming a very large salt crystal alongside this information.

I'm guessing that Nix's 2% is nearly entirely driven by pull requests to the NixOS/nixpkgs repository, which has 4,053 open PRs and 190,167 closed ones at time of writing.
Post reply on HN