Every so often a faster version of something built in PHP shows up and the jokes start again. One round came when a well-known PHP framework got a new take built in a compiled language, with benchmark charts showing big multiples. Within a day the developer circles we follow were full of "PHP is dead" memes, half-serious threads about rewriting WordPress core the same way, and people posting that they'd moved content sites off WordPress anyway.
Then the other side turned up. Builders pointed out that most small business sites live on cheap shared hosting, and that a compiled core would price out the exact people it's meant for. One developer wrote about running a real product with dozens of scheduled jobs on shared hosting, with no containers and no queue. Others dug into what the benchmark actually measured, or argued that adoption depends on team skills, hosting and the plugin ecosystem far more than raw speed. Someone who maintains two versions of a tool said the hard part is that every fix has to land twice.
We make WordPress plugins and look after client sites, so we have a stake in this. Instead of picking a side, here are the questions we can't settle, grouped by who has to live with the answer.
For the person who pays for the site
Does the language show up anywhere on their bill? A bakery owner pays for hosting, a theme, a few plugins and somebody's time. If a rewrite made pages faster but meant moving to a pricier host, would they notice the speed or the invoice first?
When a small site feels slow, how often is the language the cause? In our experience it's usually uncached pages, a heavy page builder, big images or one badly behaved plugin. Would a faster core fix any of those, or just hide them for a while?
And how would an owner even know their site runs on something "dead"? Nobody asks their accountant what language the invoicing tool is written in.
For the people who build and maintain sites
What happens to hiring? There are a lot of people who can fix a PHP site on a Friday afternoon. Far fewer can debug a compiled runtime. Is a faster stack worth it if the client can only find one person to look after it?
What about handover? A boring stack is easy to hand to the next developer. Would a rewrite make takeovers harder, at least for the first few years?
Who fixes things twice? If the old version keeps going alongside the new one, every security fix needs doing in both. Do small teams have the hours for that?
For hosts
Can a cheap shared host run a compiled web app as easily as it runs PHP? Shared hosting got cheap partly because PHP fits that model so well. If the default changed, would the cheapest tier survive?
Would hosts welcome a rewrite because they could fit more sites on each server? Or would the support load of a new runtime eat that saving?
For plugin and theme makers
Would extensions survive at all? A big part of WordPress's value is that a plugin written years ago still mostly works. A rewrite that breaks that would cost owners far more than any speed gain.
If a rewrite kept the names but changed the behaviour underneath, how many quiet bugs would it bring? Familiar function names that act slightly differently are worse than unfamiliar ones, because nobody thinks to check.
For the "just go static" crowd
If the site is rarely edited, does any of this matter? A brochure site with no forms and no logins could be static files. The language argument only really bites on sites with stores, members or editors posting every week.
And for those weekly-editor sites, is the real question about who edits and how, not what language the server speaks?
Where we've landed, for now
We don't think PHP is going anywhere for small sites, mostly because of cost, hosting and the sheer number of people who can work on it. We do think the speed experiments are good for everyone. Ideas from them will drift back into the tools we already use, the way they usually do.
What we're less sure about is the middle. If a compiled option became cheap and easy on ordinary hosting, would agencies quietly move new builds there and leave old sites on PHP? That split could get messy for anyone looking after both.
Your turn
- On the small sites you look after, what's the slowest part, and is it ever the language itself?
- Would you move client sites to a faster stack if it cost the same to host but fewer people could maintain it?
- If you've run two versions of a tool side by side, how did you keep fixes from drifting apart?
- What would a rewrite have to keep working on day one for you to even consider it?
Top comments (0)