Bonum Certa Men Certa

Why We Moved to Perl and Dumped PHP Last Year

posted by Roy Schestowitz on Dec 05, 2024

Elongating the lifetime of the underlying stack

The grumpy cat winter: This is our nineteenth year

TODAY in IRC one recurring topic was Perl, the context being this malicious Microsoft proxy giving Perl money (after Perl had already outsourced way too much to Microsoft's GitHub). In the main channel, #techrights, I explained that we had dragged on and on a serious technical debt problem. A lot of our work - or "content" as companies like to label people's hard work - was 'stuck' inside mountains of PHP code (content management systems) and the databases became as large as 10GB (only accessible using bloated software such as MariaDB or Oracle's MySQL).

We solved this by exporting the data using Perl (via SQL queries) and instead created a system using Perl. It's our own system and we extend it based on our needs, not some "one-size-fits-all" grand scheme a la Drupal and WordPress. We strongly encourage other sites to do the same if they value longevity and appreciate the merits of general simplicity (never pursue anything beyond the basics; it can become a maintenance overheard, source of bugs etc).

Linux is a cautionary tale in that regard and Rust will worsen things rather than address the issue of overflows. A lot of what we said in 2022 turned out to be true if not prophetic. But Rust is a story for another day, some other time...

Perl is an old language and our choice of it wasn't made based on hype or fashionable trends. In the word of an associate, Perl is the go-to tool for many things. Python may have the backing of Microsoft and others, and thus more progress in the libraries/modules these days, but the core language is far better with Perl. It's in the lead for regex and is easy to write clearly understood code. Unfortunately the whisper campaign against it points out that one can write poorly understood code too easily as well.

It is up to the programmer, according to this associate. "There is / was also the problem that as Perl peaked, it was the trend to show off and write as intricate and complex systems as you could. It was showing off rather than the intentional obfuscation you get nowadays with systemd."

For a number of years we ran on Alpine Linux, i.e. no systemd. But sadly it has become increasingly hard to run some particular software on operating systems which lack systemd (and GNU, by default).

We no longer use PHP. We need not worry about some future version of PHP coming out and breaking compatibility (notorious trait of PHP; it breaks "old" software and I grew tired of hacking on PHP code when it kept happening since 20 years ago). With Python 3 we can see that Python too is vulnerable to general disregard for backward compatibility. We don't use Python for the Web site anymore. █

Other Recent Techrights' Posts

Harassment by Proxy in America - Part II - Decades of Misusing the Human Rights Tribunal of Ontario (HRTO)
We had seen this for quite some time
An Alluring Fantasy of Charlatans and Frauds
Last week we said that Huang should probably be arrested, not sacked
 
Richard Stallman Gives a Talk in Guayaquil Tomorrow
Richard Stallman (RMS) is giving many talks in Ecuador, then he'll give several talks in Mexico as well
A Week After Microsoft Outages Windows is Measured at Only ~60% in North American Desktops/Laptops
Microsoft gives 2 more weeks for 60,000 of its own workers to announce they're leaving
Techrights Was Never a Political Site, It Deals With Mostly Technical Topics
There are people who try to weaponise politics to accomplish bad things inside or against the community
Techrights '30 Years Ago'
Don't mock people for still offering HTTP (not HTTPS-only) as an option
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, November 21, 2026
IRC logs for Saturday, November 21, 2026
IBM Hiding Layoffs by Telling Staff to Leave
IBM isn't a serious employer anymore. It also hides layoffs by twisting them as "resignations".
Kyrgyzstan: GNU/Linux Rises Above 5%
statCounter sees GNU/Linux at about 6%
Intrigue and Interest in GNU/Linux is Growing
Those of us who grew up in the previous millennium are accustomed to GNU/Linux being "that geek platform" that sites ignore because "only 1%" and whatnot
Gemini Links 21/11/2026: Blue Wave, Wes Huff, Jujutsu, and Tape Cassette Storage
Links for the day
To Trump's Sponsors, Microsoft and IBM, the Trump Mandate to Stop Sponsoring Visa Holders Was Actually a Blessing (More "Silent Layoffs")
"This is an easy excuse"
Uganda: GNU/Linux Measured at About 6%
Clownflare and statCounter measures aren't far apart, the metrics are
Links 21/11/2026: "Google’s Embrace of Hey Hi (AI) Is Backfiring Spectacularly" and Proton Turns to Slop
Links for the day
Links 21/11/2026: Sites "Overwhelmed by Slop Bots" and "Former SEC Chairman Gary Gensler Says Slop Is "Already a Bubble," Set to Pop and Cause Economic Catastrophe"
Links for the day
Harassment by Proxy in America - Part I - Targeting Women in Other Continents
There's no masculinity more toxic than this
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, November 20, 2026
IRC logs for Friday, November 20, 2026
Belatedly, the Real Nvidia Scandal (Corruption, Fraud) Comes Under US SEC Investigation
It had to happen soon or later
Gemini Links 20/11/2026: Electronic Rejection, Spectrum (Formerly Charter) Blocks Safe Websites, and Surveillance Jungle/Eavesdropping 1998
Links for the day
Links 20/11/2026: Microsoft to Pay in Shares Instead of Money and Over 10% at Intel Alleged at be Laid Off Again
Links for the day
IBM Will Continue to Sell Away Its Assets to Pay Salaries While Reducing Salaries (Fewer Workers, More Contractors, Offshoring)
The incredible thing is that the people who shrink IBM and lie to the media give themselves pay increases and bonuses
NVIDIA Corp Lost Almost Half Its 'Value' in a Matter of Weeks
the company that 'architected' or orchestrated this circular financing bubble is in peril
KDE is Good for Everybody
If Plasma isn't for "beginners", then why does does Valve made it the sole default in SteamOS/Steam Deck and why is it still around after 30+ years without any major controversy?
US Office of Government Ethics: NVIDIA Insider Trading by the Dictator of the US, Stock Soon 50% Below Its Value in October
It's just a rigged market, taxpayers are forced to pay for it (to bail out 'shy' billionaires)
Microsoft Morale Low, Drives Workers Crazy
Only a total moron with no grasp of technology would believe the catch-all excuse
No, IBM Didn't Lay Off Just "Hundreds" in 2026
These companies are rapidly shrinking. They just know how to hide what's really going on.
Slopapers: The Issue of Slop 'Wallpapers' Flooding the Repository in KDE and More
it's just an excuse that calls fusion (without attribution or any mention of a licence) "training" or "hey hi" or "fair use" or "superintelligence"
Links 20/11/2026: "Anthropic IPO [Shows] the AI Bubble Finally Popping" and New Problems With Slop Copyright Infringement
Links for the day
Richard Stallman, Founder of the GNU Project and a Co-founder of the FSF, Still Working With the FSF to Abolish Microsoft's Restricted Boot
Jack M. Germain has just published a lengthy article about GNU Boot
GNU/Linux Has Gained a Lot in Western Europe
Eastern Europe is another matter
IBM "Efficiency" is Working One's Way to the Bottom of the Remuneration Scale While Hiding the Stealth Layoffs
People still leaving
Forbes Already Stopped Being a News Site. Now It's a Spam and Propaganda Platform for "Paying Partners" (Companies).
news from Forbes became very scarce
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, November 19, 2026
IRC logs for Thursday, November 19, 2026
It's All About Restricted Boot and Microsoft
Garrett is working with Microsoft staff towards Microsoft agenda
Intercontinental Brigading - Part XXXXXVII - UK Isn't Part of the US or Russia
We have plenty to cover in the coming years
Update on Pocock v. Software in the Public Interest, Inc. (26-1766)
Case reassigned
Calling Frauds "Frauds" is Not Illegal
We are still getting the same vibe; Americans do not understand free speech, even if their country has a First Amendment
Everything is "AI" Now
"More Open Than Open [...] I am constantly amazed at the flexibility of this single word.”
Microsoft Web Sites Paint Mass Layoffs as Opportunities for Those Impacted, Mass Layoffs Alleged to Follow in January (to 'Kill Off' Survivors)
Keeping Up Appearances
Microsoft Outages Accelerate Migrations to Free Software
More than one major outage lately
Richard Stallman's Talks Next Month (Tech de Ciudad de México)
Right now is a very good time to promote Software Freedom because of recent world events