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

Peter Moon's (Computerworld) Interview With Richard Stallman
Stallman: If you want freedom don't follow Linus Torvalds
At What Point Does Outsourcing Constitute Malpractice?
Brett Wilson LLP's new staff page is misleading
From Do Your Own Research to Do Your Own Search
The Web is full of garbage; search engines amplify this garbage
 
The Modus Operandi of Wayland Pushers: Make It Political
do what I say or you're a nazi...
Links 23/06/2025: RFE/RL Contributor Vladyslav Yesypenko Released, Recording Industry Cutbacks
Links for the day
Brett Wilson LLP Solicitors (M): Over 99.9% of Our E-mail is Self-Marketing, We Send You 3.5MB E-mails for Less Than 1KB of Text
Why would tech people entrust legal matters to such people?
United Arab Emirates (UAE) Sailing to GNU/Linux, According to statCounter
countries in that region will quickly learn the price of neglecting digital sovereignty
More People Moving to Geminispace?
at age 6+ Gemini Protocol seems to have gained some maturity and it seems like more people use it
Permutation in LLMs Does, Inevitably, Change Meanings and Therefore LLMs Cannot Properly Rephrase or Summarise Texts
LLMs lack actual grasp or comprehension of what they spew out
Links 23/06/2025: Many Security Breaches, Population Declines
Links for the day
Gemini Links 23/06/2025: "America at the Crossroads" and OpenWRT Surgery
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, June 22, 2025
IRC logs for Sunday, June 22, 2025
Pure Dove
Different means different, and sometimes those who "deviate" from "the norm" have a point
Censorship is a Sign of Weakness Which Invites More Censorship Attempts
revolutionaries don't succumb to pressure from bullies
Why It's Unlikely That LLM Slop Will Dominate the Web in the Long Run
Slopfarms will eventually perish (they have no actual value) and "survivors" on the Web will be sites that never depended on search engines and social control media
GNU/Linux in Argentina Now Measured Near 5%
Like in central Europe, they must be seeing an increasingly hostile US
BetaNews is Fake News, Composed by LLM Slop
nothing in BetaNews is written by humans anymore
Links 22/06/2025: Giving Up on Smartphones and 'Jaws' at 50
Links for the day
Gemini Links 22/06/2025: Furniture Construction and Bubble for Comments
Links for the day
Links 22/06/2025: Windows TCO Tales and YouTube Getting More Hostile to Users
Links for the day
The FSF Board and FSF Beard
So the FSF's Board has grown
Law Firms Facing the Consequences for Patently Abusive Litigation on Behalf of Microsoft Employees Who Got Arrested for Strangulation and Had Done Even Worse Things
Having spent 1.5 years bullying me with patronising letters on behalf of Microsofters, last week they got served a massive bill and, in effect, lost the Hearing
New Report From the EPO's Staff Representatives in The Hague (LSCTH) Reveals Many Unsolved Issues
Local Staff Committee The Hague (LSCTH) wrote to staff just before the weekend
LLMs Breaking Everything
Computing and the Net became a playground for scammers and "bros", like people who "invented" fake currencies and also try to tell us that LLMs spewing out things will have some real value
Links 22/06/2025: More Slop Lawsuits (Copyrights) and "America’s Oligarch Problem"
Links for the day
Gemini Links 22/06/2025: Gigantic Toolchest and Annoying Bots
Links for the day
The Calling
Persist and persevere, justice will come your way
So Far Every BetaNews 'Article' is LLM Slop, So BetaNews is Officially Just a Slopfarm
They just don't seem to value what they have
IBM Rumour: Mass Layoffs (RAs) Lists Being Made for Consulting, With Effect in July 2025
Bogus companies with no viable products and no world-leading (in their field) staff are doomed to perish
Links 21/06/2025: Data Breach With 16 Billion Passwords, Dutch Government Recommends Children Under 15 Stay off TikTok and Instagram
Links for the day
Gemini Links 21/06/2025: Notes about Typst (and LaTeX) and Opos
Links for the day
Microsoft's Competition Tactics: Sabotage GNU/Linux Installs, Block Chrome
Edge is dying
1989: Free Software as "Open" Software (OSI Didn't Coin "Open Source", It Also Predates Linux)
"One man's fight for Free software"
The Microsoft OOXML Modus Operandi: Throw 1,000 Pages of Other People's Work for a Judge to Read Ahead of a One-Hour Meeting
No time to discuss this - that's the point
Formalities Officers (FOs) at the EPO Are in Trouble, Reveals Internal Report
We already know, based on an HR pattern we saw at IBM and elsewhere, that reallocating roles can be prerequisite for dismissal and those who do so expect many to resign anyway
The Web is Slop and FUD, Let's Go to Gemini Protocol
Lupa sees self-signed capsules at 92.4%
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, June 20, 2025
IRC logs for Friday, June 20, 2025
Links 21/06/2025: Phone Bans for Concerts, Tensions in Taiwan Strait
Links for the day
Gemini Links 21/06/2025: Spoilers, Public Yggdrasil Node, Changes to AuraGem Search
Links for the day