Live data from Hacker News

Usage statistics of server-side programming languages for websites

w3techs.com

161–170 of 284 posts

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

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

what do you mean by "efficient"? Developer productivity or server performance?

In my case, I was referring to developer productivity. In my experience, this is, by far, the most important limiting factor in any software project

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

#162
I am guessing that market share is defined such that each domain backed by a wordpress instance (wordpress being written in php) is counted as one share, and gmail.com is counted as one share (or worse, because the survey cannot programmmatically determine what language gmail.com is written in, it is not represented at all in the count).

I doubt more than 25% of the hours spent by programmers on software that runs on web servers is spent on PHP code.

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

#163

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.

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

#164

Earlier quoted context omitted.

Owncloud is switching to Go. https://owncloud.com/news/ready-steady-go/

How much has the NextCloud source diverged from OwnCloud? Will it also be switching to Go?

Nextcloud won’t change to the new, go ownCloud codebase. There are two separate and competing companies behind each product now. Nextcloud also has client side encryption as a commercial add-on, that sort of is a big deal.

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

#165
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

>>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 actually writes lots of Python code. But I wouldn't use Python where I use Perl. It would just make me slow and it wouldn't get the job done just as well as Perl.

It's not used as frequently for web dev, or other places where Java is used. But it's very good at what it does. Glue language for the Unix world.

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

#166

PHP is a great fit for most web projects. It is battle tested with great backwards compatibility, fast, offers the best deployment story and combines the advantages of dynamic and static typing with it's gradual typing system (Think Typescript without the complexity of Typescript.) The next version is even going to improve on its weakest point, concurrency, with Fibers: https://php.watch/versions/8.1/fibers Sure we a…

> "I really don't get why PHP is not more liked in hacker circles"

To me PHP is an ugly language, with heaps of quirks and weird api's. The way it mixes markup and logic is gross.

That being said, I do like some parts of it. The way you compose pages by just writing "include" is nice. The way the server spins up processes for every request like a micro-service is nice.

PHP does have an elegant simplicity that many languages and frameworks lack these days...

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

#167

Earlier quoted context omitted.

I am old also, and I have maintained some PHP code for about 18+ years now. From PHP 4 to PHP 7.4. The changes and improvements are dramatic and wonderful. Improvements in speed, security, error processing, functionality/integration with databases, Composer, etc... While I am not suggesting you go back to PHP, but things are simply not the same anymore.

I know it is not the same anymore. It doesn’t invalidate my experience from back then and the reason I left the community. And to get a response along the line that, I don’t get to have an opinion because the stuff I worked on was “OLD SHIT” is insulting.

The reason for that though is that it has changed so much that your old experience is hardly relevant because it is so different now. The Old PHP world and the New PHP world are hardly recognizable as the same thing.

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

#170
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.

Post reply on HN