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

Microsoft Blasted for Adding Insult to Injury: Workers Laid Off Without Prior Notice, Without Severance Payment and Basic Coverage (Like Health), Then Stigmatised as Bad Performers So They Cannot Find a Job Elsewhere
Such stereotypes end entire careers
BetaNews is Still Publishing LLM Slop/SPAM About "Linux"
Assuming it is indeed LLM slop, it seems clear BetaNews has no intention of improving or is simply unable/unwilling to improve
If Matthias Kirschner Loves Free Software, He'll Change the Name of the Microsoft-Sponsored Organisation He Governs (in Order to Avoid Confusion)
The FSF-EEE does not really like Software Freedom, it just loves money (including Microsoft's)
EPO's Local Occupational Health, Safety and Ergonomics Committee (LOHSEC) in The Hague: Workers Are Getting Sicker, Conditions in Which to Assess Patent Applications Deteriorate
"According to the Office statistics the total number of days of absence has gone up from 12.4 to 13.1 total number of sick days per Full Time Equivalent (FTE) from 2023 to 2024."
The Standard Needs to Improve Its Standards for Fact-Checking, Aaron Swartz Had Nothing to Do With Reddit and He Detested the Company That Created It
The Web is already bad enough as it is
New Paper From the EPO Highlights Large-Scale Discrimination at the Office, Where People Are Rewarded for Granting More and More Illegal Patents
Even the Kremlin is probably more competent than this
 
Microsoft in Africa: From 98% to Less Than 10% in Just 16 Years
Microsoft being on less than 1 in 10 Web-connected devices in Africa is a very big deal
Almost as If MElon Reads Techrights
The joke we started appears to be spreading
Gemini Links 11/02/2025: NeoVim and Deploying Other People's Code
Links for the day
IBM Layoff Rumours, Large-Scale Implementations Weeks Ahead (in March 2025)
There are some people corroborating
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, February 10, 2025
IRC logs for Monday, February 10, 2025
Scheduled Maintenance Tomorrow and on Valentines
If the site (or Gemini capsule) is offline for a bit, the maintenance windows are likely the root cause
Soylent News Lessens the Scope of Discussion Due to Persistent Trolling and Online Abuse
if they make it a lot harder for new people to participate, then they limit the "general appeal" and reach
When the Livestream of Richard Stallman is Apparently Bury-Brigaded Offline You Finally Learn to Avoid Google/YouTube for Streaming
Please, people, stop uploading to Google/YouTube
Links 10/02/2025: Ban on D.E.I. Language, Listeria Risk/Outbreak
Links for the day
Links 10/02/2025: Announcing "Stringless" and Mental Health Improvement
Links for the day
Links 10/02/2025: Facebook Mass Layoffs, "Meta" Did What Aaron Swartz Had Done But to the Tune of 81.7 Terabytes
Links for the day
Microsoft Tarnishing the Brand of Arch
Of course Arch can do whatever it wants, but being associated with Microsoft is a badge of shame
The Ultimate and Inevitable Fall of OpenAI (Even Brave is 'Bigger' Now)
"When you advertise at the Super Bowl, you’ve reached just about every consumer in America. It’s the last stop. If you’re not profitable yet, you never will be."
Adding Slop to Your Blog Only Makes One Assume All the Text is LLM Slop
Simon Coter from Oracle has turned to slop
Macao is Leaving Microsoft Behind
Windows is falling to new all-time lows
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, February 09, 2025
IRC logs for Sunday, February 09, 2025
Microsoft's WSL (LSW) Shows That It Can Never Love Linux, Only Windows
that's just how Microsoft rolls
Activism in Times of War and a Coup
'Linux' Foundation works for fascism
What the Silencing of Neatnik Tells Us About Linus Torvalds Inside a Microsoft-Dominated 'Linux' Foundation
Is Linus Torvalds free to express his mind as he wishes about every topic, even just any technical topic?
Windows Down to 11.35% in Senegal, as Measured by statCounter
Another all-time low (Windows was at 99% in 2009)
"Latest Technology News" in BetaNews is LLM Slop Promoting OOXML and Proprietary Software at the Expense of LibreOffice and OpenDocument Format (ODF)
Remember that "open-source" and Open Source aren't the same; the former is fake
Links 09/02/2025: Coffee, Toxic Productivity, and Programming
Links for the day
Debian's Human Rights violations & Swiss women Nazi symbolism
Reprinted with permission from Daniel Pocock
Links 09/02/2025: Software Patents on MP3 and Another Scam Dressed Up as "Crypto"
Links for the day
Links 09/02/2025: Russian Energy Cut Off, LLM Pushers Show Signs of Desperation
Links for the day
Richard Stallman (RMS) Does Not Have Media Companies and Lobbyists on His Side, But His Message Spreads Regardless
The message of RMS is spreading in spite of all the smears
GNU/Linux Rises to All-Time High in Chile
sharp rise for GNU/Linux in Chile
Links 09/02/2025: Hottest January on Record, Panama Blackmailed
Links for the day
Why We Still Love Gemini Protocol
Gemini Protocol may seem like something "old" (it's actually very new) and something "nobody would use", but many people use it
Gemini Links 09/02/2025: "Died as a Mineral" and Game Interface for a Non-Game
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, February 08, 2025
IRC logs for Saturday, February 08, 2025