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

What Really Matters to Companies is Net Income or Profit (Bankruptcy is Possible Even With High Revenue)
We ought to stop talking about revenue without focusing on actual profit
Carole Cadwalladr Talks About How Big Business Tried to Silence Her (and Why You Might be Next)
Our story is very different from Cadwalladr's for many reasons
LLM Slop and SEO SPAM Take Us Further Away From Facts (the Case of IBM Layoffs)
Some of these can impact Red Hat as well
Microsoft SLAPPs Against Techrights Losing Momentum
It always backfires
 
Links 14/04/2025: Russian Attack on Sumy Shows No Intention of Peace, Virgin Australia Admits Overcharging People
Links for the day
The Dilemma of Web Browsers Lying About What They Are (in Order to Bypass Discriminatory Gateways Like Clownflare) Worsens Due to LLM Slop
LLM crawlers/scrapers have made sites more restrictive and hostile towards browsers that are potent but not "famous"
Companies Conspiring to Keep Salaries Down and Undermine Competition
People who do all the practical work are being paid less and made to work for much longer
Links 14/04/2025: Disinformation, Public Disdain for LLMs, and "Lessons on Tyranny"
Links for the day
Gemini Links 14/04/2025: Ween and Historic Ada Project Management
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, April 13, 2025
IRC logs for Sunday, April 13, 2025
Influencers: Red Hat, Inc's IPO, 1999, post-mortem on the directed share offer to open source developer community
Reprinted with permission from Daniel Pocock
Links 13/04/2025: Microsoft Cuts to "AI" and Azure (It's Failing), ‘Ghiblification’ Shows Slop Doing Much Harm
Links for the day
Links 13/04/2025: Tariff Remorse and Chatbots Leak Again
Links for the day
Gemini Links 13/04/2025: No CSS, Spring Scripting
Links for the day
Richard Stallman Turns 72 and Will Be Giving Talks in Europe Soon
We have many local copies of his talks as WebM, having converted files uploaded to YouTube
Revisionism and Lies by LLM Slop and Lazy "Media"
What happened to investigation of issues?
Exposing Corruption and Crimes Against Women Isn't a Crime, It's an Imperative
When evil and greedy people are so desperate to silence you it typically gives you more motivation - not less - to do more of the same
EPO Likely Breaking the Law Yet Again, This Time by Using Slop for Patents (to Lower Costs While Producing Monopolies That Cause Ruinous Lawsuits)
Nobody authorised this
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Saturday, April 12, 2025
IRC logs for Saturday, April 12, 2025
Links 12/04/2025: Tariffs Standoffs and Spam 'Articles' About Patents
Links for the day
Gemini Links 12/04/2025: Isle Release 0.0.4 (Alpha) and Pokemon
Links for the day
Links 12/04/2025: Science and "DEI" Dismantled Further in the US
Links for the day
Links 12/04/2025: "Part of the Problem" and "Facebook Is Just Craigslist Now"
Links for the day
New EPO Leaks: Replacing Patent Examiners and Classifiers With Deficient Bots (Without Even Asking for Permission)
Any consultation about it? Any media coverage? No.
The Consensus is Changing and Web Sites View LLMs as Evil, a Malicious Force of Plagiarism and a Source of DDoS
It's not about "AI" but about plagiarism of sorts
Slopwatch: Lots of Fake Articles About "Linux" Infect the Web, Google News Still Promotes These as 'News'
people who go to a site like google.com or Google News or even social control media (where users get links from Google) will be directed to read slop, i.e. pure garbage.
Gemini Links 12/04/2025: Sigrblot and Conway Calamity
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, April 11, 2025
IRC logs for Friday, April 11, 2025