Preferences

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.
That makes sense and that was exactly what was going through my mind.

I guess, PR data shows you what needs to be updated frequently. Personally, I like getting code right and shipping it and never thinking about it again. But for "here's how to reproducibly install the newest possible version of foobarbaz" yeah, a lot of updates are going to be needed, simply because "the latest version of foobarbaz" is likely a moving target.

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.

I think job listings are the least biased statistics on language popularity, as there is no too significant difference in productivity between high level languages, so the number of people required will be roughly linear to the jobs.

According to that the top 3 are js, python and java, in some order. I think it’s a good Litmus-test to fail statistics that have a different top ranking (TIOBE being beyond useless, having listed Visual Basic as 6th some time ago?!)

having listed Visual Basic as 6th some time ago?!

That actually does not surprise me. It's considered a step up from (and often used with) Excel, which is also everywhere.

My memory is hazy, but it was ahead of goddamn javascript.

Also, the 3 lines of scripts it is used for is hardly a big amount. Excel is big, but when companies grow out of it they go for integration with “proper” applications instead.

> It doesn't really measure anything, and has already been gamed intentionally, since it's so simple.

If you replace “has already been” by “can be”, I think all of that applies to this, too.

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?

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!

Scala is at 1.7% in the actual data, and it’s generally appropriate for a niche language like this (although Rust is below it, even though the HN bubble might make you think otherwise).

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal