Bonum Certa Men Certa

What Would Dennis Ritchie Say About the "Memory-Safe" Hype (or Cargo Cult)?

posted by Roy Schestowitz on Jan 04, 2025

Antwerp Medieval Alley

Sebastian Hetze, Linus Torvalds, and Dennis MacAlistair Ritchie having a conversation at the USENIX Annual Technical Conference in January 1997

Sebastian Hetze, Linus Torvalds, and Dennis Ritchie

"Old" does not mean bad. Old can be worse, but it can also be better or equally good.

AS a C programmer myself (since a relatively young age), I'm not too impressed by the Rust hype which I deem a threat to Linux (I explained why in 2022; I had commented in that in prior years too). I'm no stranger to C++ either, but I only started dabbling in C++ relatively late - in my early 20s. In my experience, C++ leads to a higher level of complexity for programs; in some cases, this unnecessarily complicates things for everybody involved.

Based on some shallow - albeit essential - online research, Dennis Ritchie (C and UNIX creator/pioneer/inventor) did in fact meet Linus Torvalds (creator of Linux), shown in the center (photograph above) and the epic/eminent colleague Ken Thompson (nice person, music lover, and UNIX co-creator) said he was moving to GNU/Linux a couple of years ago. Thompson's mind seems very sharp and he can explain technical concepts quickly and fluently despite his age.

There has been some discussion about C++ in recent days because of future plans. "Conflicting interests, differing priorities and lack of participation has stymied the passing of memory safety proposals for C++," Agam Shah wrote 2 days ago. Shah used to write a lot about GNU/Linux, ARM, OLPC etc. so we have a high opinion of him and his work.

The bottom line is, this whole "memory safety" cargo cult has gotten quite loud. A lot of the corporate media got paid to play along with a GAFAM narrative (even RMS swallowed some of that, based on a conversation we had years ago). It's a bit of a distraction, as I'll explain a little later.

The programming languages (or frameworks) are sometimes being blamed for shoddy coding practices. That's like blaming a fall on a lack of safety rails where none are truly needed. That's not to say that coding can be done perfectly, but many times it boils down to developers with a poor grasp of networking (or computing in general) opening up too many sockets, files, or elevating permissions/scope where it's not necessary at all. In other words, fundamental errors can be traced back to misunderstanding of fundamentals. Ask Microsoft why it's alarming developers right now to "patch" .NET crapware; turns out that some domain expiring suddenly became a massive security threat. Whose idea was it to make programs dependent on DNS (and on whoever happens to have some domain registered at the time those programs are run)??? This is terrible design, akin to asking people to just download some program from some random domain (no matter who controls it) rather than some trusted source, which may be physical media, verified at a store or before shipping.

Not knowing much about Ritchie (except he was in poor health because of his lifestyle, or so goes the rumour), there's this meme about his death on the left. As Andy recently pointed out in his long article, Ritchie died at almost the same time as Steve Jobs, but the media only mentioned the latter and still mentions the latter (as if he only died a year ago or last week). Fame and recognition aren't earned in proportion to achievement, contribution etc. Get used to it.

Dennis Ritchie vs Steve Jobs

In discussions about the photo above [1, 2], one person wrote: "Dennis Ritchie, who passed away the same week as Steve Jobs, made contributions to computing that are even more foundational. As the creator of the C programming language and co-developer of the UNIX operating system, his work underpins nearly all modern technology. While Jobs revolutionized consumer products, Dennis innovations built the core infrastructure of computing, enabling the digital world as we know it. RIP Dennis."

At the time the photo was taken he would be about 56 (born 1941) and already well aware of C++ and Java catching on. Many of the important programs were still written in C, not PHP of Python or any of the fancy "Web" things we now have (Ruby on Rails to name one). JavaScript was still relatively new and wasn't yet misused as bloatware for spying.

One reason why safety of C wasn't "all the rage" at the time was, people were working on computers offline or temporarily online (over dial-up/ISDN). Some places were connected over Ethernet that formed LANs (universities and offices), but the connected peers were mostly trusted and not some APT halfway across the globe.

That brings us to the motivations behind Rust and the role of the Linux Foundation, a Microsoft-dominated front group. The GAFAM think tanks (e.g. OpenSSF at the Linux Foundation) want to distract us from their back doors (i.e. intentional security problems), so they look for some scapegoat or a blame-shifting opportunity. If GitHub gets cracked or a project there loses control, they'd blame everything but Microsoft. They'd rather name "Linux" as a culprit than focus on back doors that enable the biggest and worst intrusions, including that of the US Treasury - it boiled down to Microsoft Windows again.

Don't let all the noise and the hype mislead you. The real security culprit is governments (and their pet corporations) wanting security holes to exist. The genuinely accidental holes are nowhere as bad, on average. They're typically hard to exploit remotely.

What would Dennis Ritchie say about all this? Well, late in his life he received awards and recognition in exchange for photo ops with the same political leaders who later demanded back doors or had already implemented them. To what extent was he aware that about a decade after his death the US administration would speak of C as if it was flaky piece of trash that must be avoided by programmers in the name of "security"? Even a kitchen knife can be used as a fatal weapon; yet we don't ban kitchen knives. More than 99% of people use these responsibly (care) and only inside the kitchen (scope)

Other Recent Techrights' Posts

Microsoft Uses LLM Slop to Defraud (or Rob) Shareholders
Microsoft is basically defrauding its shareholders by LLM slop
 
Why the Microsoft People Who Started SLAPPs Against Techrights Could Very Well be Sent Back to Prison
White-collar crime is also a crime
The Company Run by Former (and Last Proper) Red Hat CEO, Promoting Microsoft Mono, Faces Shock as Senior Partner Jailed for 33 Sexual Offenses Including Pedophilia
"As reported by The Oxford Mail in April 2025, the offenses include rape, sexual assault, engaging in non-penetrative activity with a child, and more."
Microsoft Lost 29% of Windows Users, Based on Microsoft, Now Come Massive Layoffs
Microsoft collapse is today
Slopwatch: Google Serves to People Linux Slop and Linux FUD (Made by Bots)
"Slopwatch" finds it difficult to ignore Google's role in encouraging LLM slop
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, July 01, 2025
IRC logs for Tuesday, July 01, 2025
"Wayland People" Behave Like the Googles and Microsofts of This World
Published yesterday by Igor Ljubuncic
Gemini Links 02/07/2025: Arch Linux and Fulfillment in Gemini
Links for the day
Links 01/07/2025: "Independence Day in Taiwan", Bounties on Software Patents
Links for the day
What Happens When Your Law Firm is Preoccupied With Harassing and Trying to Extort a Humble Couple in Manchester, Even on Behalf of Violent Microsoft Staff From Another Continent
It's good to see that law firms which operate in bad faith are perishing
Lawyer X, Law Firm X and Elon Musk's X: scandals linked by Old Xaverian
Reprinted with permission from Daniel Pocock
Gemini Links 01/07/2025: Distraction-Free Writing and Hytale Mismanagement
Links for the day
Links 01/07/2025: "Beauty of Blogging" and "Etiquette of Collapse"
Links for the day
The Web is a Dead End
We need to adopt alternatives
When Words Lose Their Intended Meaning
examples of words that, at least in the technical spheres, don't mean what they sound like
People Who Disagree With You on Technical Matters May or May Not Agree With You on Political Things (But Usually They Do)
What bothers me a great deal is seeing left-leaning people accusing other left-leaning people of being "nazis"
"Too Much Choice" and "Too Many Programming Languages"
What IBM and its apologists aim for was attempted in the 1930s and it failed
Microsoft Lost 400,000,000 Windows Users, According to Microsoft
more people adopt smaller computers and many people replace Windows with GNU/Linux, as they don't really need a new computer
The "Davos Effect": Tarnishing the Reputation of Places Not by Overtourism But by Oligarch Infestation
The last Venice needs is an affiliation with Venetian oligarchs
Half a Year Gone, What's to Come Next
In the second half of 2025 we expect to be done with the Microsoft SLAPPs
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, June 30, 2025
IRC logs for Monday, June 30, 2025
People at the Very Top of Microsoft Know How Bad Things Really Are
There's no product that can replace the former profitability of Windows licensing and stuff that went on top of Windows
Gemini Links 01/07/2025: Mid Year and a Tour of Old Languages
Links for the day
EPO Presentation Bemoans Misuse of Slop in Decision-Making on Patents and in Classification (Which is Likely Illegal Too)
We habitually mention failed use cases of LLMs on the Web
Mass Layoffs at Microsoft Confirmed, "XBox Hardware Is Dead"
It's possible that over 20% of the staff will be laid off
Links 30/06/2025: Kyrgyzstan vs Media Freedom, Dalai Lama Succession
Links for the day
Gemini Links 30/06/2025: Backend Programs in Gemini and Dynamic Content Without The Scripting
Links for the day
Links 30/06/2025: Zuckerberg’s Tax-Evading Scheme Harms Kids, US Copyright Office Lacks Leadership
Links for the day
Microsoft Isn't Laying Off Tens of Thousands to 'Invest' in Slop ('Hey Hi'), It's Laying Off Tens of Thousands Because It's Running Out of Money (and Willing Lenders)
the layoffs are a sign of the business failing, not "hey hi" (whatever that is) replacing staff
Intel Lays Off 20% of Its Workforce, Microsoft is Doing the Same This Year
Like a yoyo, whatever goes up will come back down
Microsoft XBox Layoffs: Almost 2,000 Layoffs Became "Over 2,000"? (Over 20% of the Staff)
over 20% of staff will be let go, not counting staff that leaves voluntarily
GNU/Linux Rises to New Highs in Angola, Africa in General is Abandoning Windows
Western media barely covers Microsoft layoffs in Africa, but in recent years Microsoft culled the workforce and even shut down entire operations
Summer Plans in Techrights and Elsewhere
massive layoffs at Microsoft
Destination Geminispace (in the Age of LLM Slop and Slop Images That Infest the Web and Social Control Media)
Geminispace isn't vast, but at least it is - on average - a lot "cleaner"
GNU/Linux Growing in Sierra Leone This Year
Based on what statCounter is seeing, this year there are more and more people there who adopt GNU/Linux
Serial Sloppers Gonna Slop
More sites out there ought to call out the cheaters
Quartz (qz.com) is Spam and a Slopfarm
It used to be OK. Then they fired the staff.
Links 30/06/2025: US Economic Woes, Extreme Heat
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, June 29, 2025
IRC logs for Sunday, June 29, 2025
Gemini Links 30/06/2025: "The AI Hype" and New AuraGem Ask
Links for the day