Live data from Hacker News

Usage statistics of server-side programming languages for websites

w3techs.com

171–180 of 284 posts

Re: Usage statistics of server-side programming languages for websites

#171
post #25

I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…

It's a controversial opinion of mine, but many other languages have come and gone since PHP, yet it still dominates. With all the new alternatives nothing has taken over and it shows that stability and mature works better than change when there is not a critical need for it. Modern languages have also time and time again forsaken the ideal of making development LESS COMPLICATED than prior languages, and this is why t…

Code compilation has saved me so many headaches that would have otherwise been discovered in production, so I can't say I agree with you there. That said the languages I compile also take 15 seconds so I don't experience that 40 minute compilation times some people have and that would probably sour my experience a bit. The language I'm talking about is Elixir fwiw.

Re: Usage statistics of server-side programming languages for websites

#172
post #25

I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…

starting a WordPress doesn't count as building and maintaining a website

Re: Usage statistics of server-side programming languages for websites

#173

Earlier quoted context omitted.

Kind of true, there are loads of companies that started out as a 1 or 2 person gig with a crappy wordpress site as their MVP, then they take on a full time php developer to make some changes and before you know it they are a few years in and are rebuilding their site in Laravel or Symfony.

Literally my story right now.

Haha yes! I did Symfony/Laravel contracting for years and all the companies I worked for started like this.

Re: Usage statistics of server-side programming languages for websites

#174
post #44

Earlier quoted context omitted.

It could very well be that PHP is easier to distribute, and gets used in lots of groupware/industry-standard software that's deployed thousands of times across thousands of organizations. I'd imagine that kind of market share piles up after a while.

This is exactly it. Lower friction wins. You can just upload PHP scripts and go, while almost everything else requires many more installation steps or even monstrosities like Kubernetes.

Modern PHP application development doesn't really use the "deploy PHP scripts to a folder" model any more.

The more likely scenario is that a framework with a front controller is used, which is invoked by php-fpm, proxied by nginx.

It's easy enough to do, though.

Re: Usage statistics of server-side programming languages for websites

#175
post #147
post #122

Earlier quoted context omitted.

These two pages provides some more information on the subject. https://w3techs.com/technologies https://w3techs.com/disclaimer

Thanks. The technologies page talks about selection, mainly: (1) either Alexa top 10 million or Tranco top 1 million; (2) only apex domains are counted. It doesn't talk about weighting at all, so coupled with the subdomain policy, a reasonable assumption is that the statistics are not weighted at all. The disclaimer page also makes it clear that they don't analyze anything that requires interactions like signing in.…

Yes, it is important to understand the term "website" in this context.

The survey does not measure deployed server languages.

Re: Usage statistics of server-side programming languages for websites

#176
post #25

I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…

It is not about efficiency , it is about legacy. You can count number of Perl scripts out there and conclude that Perl is still the most popular scripting/devops tool in the world

It's clear that legacy has a pretty strong influence, here, with Wordpress and other standard tools inflating PHP's numbers and Shopify doing the same for Ruby.

But, I'm pretty sure there's plenty of new projects being started nowadays in PHP, Ruby, Java, etc, because they're the most effective tool for the job.

It's just that this is not news. News is yet-another-standard-tool-written-in-rust.

Re: Usage statistics of server-side programming languages for websites

#177
post #25

I think this shows how much HN is a bubble in itself. Most discussions here happen around new/exciting/cool/weird technology. And don't get me wrong, I love those discussions! That's why I come here! But reality outside of this bubble is people building and maintaining web apps as efficiently as possible and PHP hasn't stopped being very efficient. On the contrary, it's getting better with time. Interestingly enough,…

I guess I don't fit in, here. I write native Apple software (Swift/UI/App/WatchKit), and my server stuff is PHP (and works great). I like to spend as little time as possible on the backend. I totally admit its not my strong suit, so having a robust, highly-supported, standardized, performative, language like PHP, with a gazillion assistive resources and examples around, is nice. I've been writing stuff in PHP for ove…

Agreed, PHP works great for APIs and the server setup/config is extremely simple with both Apache and Nginx

Re: Usage statistics of server-side programming languages for websites

#178
post #11

How did Ruby increase that much lately? Also, I'm surprised Python isn't more popular. 1% is (comparatively) tiny for a language that popular.

Python's web dev cake was eaten by Node and React JS.

The next big thing there is Typescript.

Re: Usage statistics of server-side programming languages for websites

#179

A search of my country’s main job site says approx: 250 Ruby ads 420 PHP ads 1600 Java ads 1600 python ads 1300 .NET ads

A search, right now, on Upwork does the following: PHP - 12316 jobs Ruby - 1175 jobs Java - 5902 jobs Python - 10051 jobs .NET - 2353 jobs Adding a few of the others: C# - 2562 jobs (I suspect those .NET also can be interchanged with C#) C++ - 1711 jobs Go - 3925 jobs Rust - 382 jobs Feel free to double check my results. Like it or not, Upwork is the largest freelancer site.

Upwork also skews towards one-off gigs for businesses serving a tiny audience, often with <=$100 pay. The average full-time, long-term job offering could be equivalent to maybe 50 average Upwork jobs (just a ballpark number I pulled out of nowhere).
Post reply on HN