Live data from Hacker News

Usage statistics of server-side programming languages for websites

w3techs.com

191–200 of 284 posts

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

#191
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 deployment continues to be a pain. And it's primary domain is more in the data science/engineering side of things.

Also, in my experience, web devs tend to hate python as much as they do PHP. I've worked at two places so far where python wasn't allowed to be used in web services at all without a Very Good Reason. Choices were Node or Go.

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

#192
post #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.

Not sure I said Typescript is the next big thing. It's a thing now.

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

#193
post #106

Earlier quoted context omitted.

Still, you can use it to gauge PHP to non-PHP. And there is an unknown percentage of PHP sites which turn this header off.

Your second sentence is why the first is unreliable: in particular, advertising server software and versions will get you flagged by most security auditors so the PHP sites which don't advertise will often be the largest and/or most interesting — for example, neither Etsy nor Wikipedia advertise that header.

Still, if you change "78%" to "at least 78%", it's impressive nonetheless.

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

#194

Earlier quoted context omitted.

Literally my story right now.

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

I worked on a bunch of projects where PHP was still used for landing/home page and absolutely nothing else

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

#195
post #165

Earlier quoted context omitted.

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

>>You can count number of Perl scripts out there and conclude that Perl is still the most popular scripting/devops tool in the world Perl is still heavily used. I wrote more than 2K lines just last week, lots of it is throwaway. But hey not many languages make it easy for you to write thousands of lines of throwaway code in hours. It's still the most useful language in the backend/unix world. This comes from me, who…

would you consider those 2k perl loc legacy/maintenance work or something new?

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

#196
post #5

I'm curious how this changes if you remove PHP being used for WordPress (where the people using it probably didn't choose it). Do lots of companies still choose PHP for brand new projects? I know Facebook has a dialect they still use, but you don't hear much about it anymore.

Yep. My employer is a mix of PHP and JS. PHP 8 for our API, JS for the app that consumes it - sharing code both server-side and client-side. It works really well for us. Development on a modern version of PHP with a framework like Symfony or Laravel is so very different to development on old PHP5 versions. edit: PHP 7.x and 8 let you do things like: - no automatic type conversions - typed function parameters and retu…

I'd argue that the first three are not all that little ;)

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

#197
post #153

42% of all websites are on Wordpress, which is written in PHP.[a] The vast majority of those websites use vanilla WordPress out-of-the-box to serve a tiny audience. If you look at market share by traffic , a much smaller share than 79% of the world's largest web sites (Wikipedia, YouTube, Google, Amazon, Facebook, Twitter, Reddit, Instagram, eBay, PornHub, etc.) run on PHP. Those websites account for the vast majorit…

Em... You are very wrong in your own example. Wikipedia, Facebook, and Pornhub use PHP. Technically though, Facebook uses Hack, a more strictly-typed customized version of PHP for their own uses, but Hack is still mostly compatible with PHP and until recently could process any PHP file directly.

You are right about Wikipedia, Facebook, and PornHub. I was wrong. I corrected my comment. Thank you for pointing it out.

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

#198
post #106

Earlier quoted context omitted.

Your second sentence is why the first is unreliable: in particular, advertising server software and versions will get you flagged by most security auditors so the PHP sites which don't advertise will often be the largest and/or most interesting — for example, neither Etsy nor Wikipedia advertise that header.

Still, if you change "78%" to "at least 78%", it's impressive nonetheless.

Do you think that's “at least 78% of all sites” or “at least 78% of sites which advertise what they're built with”? The latter case seems more likely and that will distort the numbers massively.

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

#199
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,…

PHP is the original serverless. LAMP. FTP. PUT index.php. Done.

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

#200

Earlier quoted context omitted.

I tell people all the time about how good the Ruby job market is. Lots of opportunities and not a ton of people to fill them for some reason. People from other languages don’t seem to want to believe it.

What's interesting is that PHP and Ruby are not just popular, they're increasing. I am curious about that Scala number though. 2% of 10 million is quite a lot: 200,000 Scala websites? I would have never guessed!

I wonder if it's due to the Play Framework which could be used in either Scala or Java.
Post reply on HN