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

Links 01/06/2025: "Vibe Coding" Turns Out to be a Fraud and Amazon Merits Boycott, Argue Bloggers
Links for the day
Gemini Links 01/06/2025: "Stardust" and Ideal PC Setup
Links for the day
Links 01/06/2025: Windows TCO, Openwashing, "It's FOSS" Still Promoting Microsoft
Links for the day
Gemini Links 01/06/2025: Simplification and Networks Everywhere
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, May 31, 2025
IRC logs for Saturday, May 31, 2025
Google Bribes EFF. EFF Promotes LLM Slop as 'Fair Use'. To GAFAM It's a Low-Cost Lobby Hedge.
So the bribes pay off ("slush fund") and the word spreads
Slopwatch: Fake Text and Images, Financial Bubbles, and Scams in "Intelligent" Clothing
Sometimes what they mean by "AI" is just cheap labour somewhere else, as we discussed in IRC a few hours ago
Why Microsoft is Collapsing (Similar to What's Happening at IBM), As Insiders See It
IBM seems like one heck of a mess
Reliable Computing Means Free (Libre) Computing
Sites that want to promote security ought to deal with the biggest issues
Links 31/05/2025: US Court Orders Sides With RFE/RL, War Updates From Ukraine
Links for the day
Gemini Links 31/05/2025: ARM Server and power_supply Subsystem
Links for the day
Links 31/05/2025: Slop Stigmatised as Disinformation, Catalyst/Driver of "Death of Communication"
Links for the day
Common Sense 101: Do Not Write Blog Posts Saying You Want to Murder Colleagues (or Yourself)
Only crazy people would think stabbings are a joke
Microsoft Bankruptcy
"Microsoft unit in Russia to file for bankruptcy, database shows"
Techrights Does Not Compete With LLM Slop, It Exposes the Bastards, Plagiarists and Scammers Who Do That
People like Scam Altman, still facing a lawsuit from his own sister for sexual abuse against her
Links 31/05/2025: Microsoft-Connected Builder.ai is a Fraud and US is Purging Students Based on Race/Nationality
Links for the day
Gemini Links 30/05/2025: Limmat, Doomscrollers, and Arguments Parsing
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 30, 2025
IRC logs for Friday, May 30, 2025
The "AI" (Slop) Bubble Already Popped, But It's Not an Overnight Collapse
where Microsoft put its money
No More Steven Astorino at IBM, Chatter About Weekly/Nonstop Layoffs at IBM
What happened? Good luck guessing.
Looking at Corruption in Europe, Going Beyond the EPO
Expect a new series to kick off very soon
Slopwatch: Security SPAM and LLM Slop for SEO and FUD Purposes, Perpetually Tarnishing the Perception of Linux and (Open)SSH Security
A lot of this Fear, Uncertainty, Doubt (FUD) comes from Microsoft and its LLMs
Links 30/05/2025: Google's LLM Slop Pushers Are Killing Journalism and Shira Perlmutter Fails to Stop Bribed Regime From Legalising Plagiarism (in "AI" Clothing)
Links for the day
Links 30/05/2025: Offline Arts and "Threshold of Patience"
Links for the day
Signing Off Serious Lies With a Statement of Truth is No Joking Matter
It's not hard to see what's happening here
Links 30/05/2025: LLM Slop Already Ingests and Vomits Its Own Garbage, Facebook Exec Admits Copyrights a Concern Too
Links for the day
Mass Layoffs at Microsoft Result in More Whistleblowers From Microsoft
Microsoft's predatory pricing is further
Slopwatch: Planet Ubuntu Became LLM Slop and Some People Fail to See the Immorality of Plagiarism
it lessens the incentive for people to publish real articles
EPO Poll: 68% Dissatisfied With Quality of Slop (Wrongly Framed as "AI") for Patent Classification
Slop does not work, it's just falsely advertised with extra hype (funded by slop pushers that sponsor the major media)
Big Crowds Gather to Learn About Software Freedom From the Man Who Started GNU/Linux in 1983
"It was a great success"
Microsoft Layoffs Again in Bay Area
Microsoft relies on people's false belief that being "in LinkedIn" will get you a job; well, seems like even working inside LinkedIn really sucks and you lose the job
Gemini Links 30/05/2025: Fighting Against the Bad News, and Slop is Dehumanisation Disguised as "Intelligence"
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 29, 2025
IRC logs for Thursday, May 29, 2025