7/25/2026 at 8:56:54 PM
My biggest problem with the refusal to be memory safe is the fact that those problems end up becoming my problems when I am forced to use these applications and I have to think about how there might be a zero-click zero-day that uses an overflow in some random codec. Not as a software developer, but a regular person I want my application to be written in rust or at least use fil-c at bare minimum.Now as a software developer I feel like this is even more important because I use libraries maintained by thousands of other developers that might also use applications that have these exploits which get their systems compromised pushing malware to thousands of other developers which end up compromising even more libraries.
I believe that memory safety should be the standard for software that thousands if not millions rely on and that it shouldn't be some political issue of X is better, Y is that, Z is something else.
But then again, social engineering is the primary source of malware spread so I don't know.
by himata4113
7/25/2026 at 9:42:12 PM
It seems to me that memory safety might be the difference between the software engineering and Software Engineering. As in, an actual Engineering discipline.However, I should probably pipe down, as I would not call myself either one.
by consumer451
7/26/2026 at 6:36:02 AM
> memory safety might be the difference between the software engineering and Software Engineering. As in, an actual Engineering discipline.I wouldn't go that far, what matters is the finished whole. Memory safety of the finished program is a critical factor and using a memory safe language makes it easier to achieve that goal.
However simply using a memory safe language doesn't make you a "Software Engineer" any more than using a certified I-beam makes someone a "Civil Engineer". What matters is that the finished structure/program meets the explicit and implicit requirements of safety, functionality, durability, cost, etc.
Not to mention that complex reliable systems are usually engineered out of much less reliable components.
by dns_snek
7/26/2026 at 11:37:26 AM
Overall safety matters. Memory safety is just one factor. Log4Shell happened in Java, a GC language without pointer arithmetic.by inigyou
7/26/2026 at 12:55:18 PM
With Fil-C and Rust the memory safety shouldn't even be discussed. It should be the bare minimum.Presence of worse bugs won't make memory bugs disappear.
by Ygg2
7/26/2026 at 2:25:47 PM
Necessary versus sufficient condition, as they say in philosophy.by satvikpendem
7/25/2026 at 10:41:27 PM
There are too many opensource projects that show that even with good engineering discipline humans are flawed creatures.Memory safety is just little thing that makes sure that when you write code at 4am that it will not leak memory via trivial mistakes such as forgetting to free something, freeing something twice or passing a freed pointer. I believe AI agents shine here the most because the they do not get tired and are getting pretty damn predictable.
by himata4113
7/26/2026 at 1:26:46 AM
How many bugs in qmail though?by inigyou
7/26/2026 at 2:49:22 AM
I don't think we should set our expectations based on an extreme outlier. qmail is special, and we can't expect most software to get to its level of security/safety.Put another way: if you have to rely on programmer skill or attention to detail in order to guarantee something, that will always be a losing bet, on average. The existence of a tiny percentage of programmers that can clear that high bar does not make it a valid strategy.
by kelnos
7/26/2026 at 10:23:31 AM
Splitting programs into mutually untrusting modules is a plausible alternative to memory safety in programming languages.Also in a program similar to qmail, memory safety alone is not sufficient, a lot of bugs in sendmail were related to complexity issues.
by uecker
7/26/2026 at 12:24:06 PM
If only there was an OS design architecture that would follow such approach from the ground up....by pjmlp
7/26/2026 at 9:09:11 AM
Why can't we write everything like qmail?by inigyou
7/26/2026 at 1:50:47 AM
It had one bad cve it seems, but that's exactly what I mean. It only takes one mistake, of course you can learn and never make those mistakes again, however, that is an unrealistic expectation in software that receives hundreds of feature updates a year especially when it comes to core applications as basic as communication when it wants to support image previews, reels and whatnot.by himata4113
7/26/2026 at 2:50:53 AM
There will always be one, so "it only takes one" is meaningless and invalid. That leaves less is better than more, and any form of less is as good as any other form of less.by Brian_K_White
7/26/2026 at 5:32:25 PM
This is pretty hard to argue since for example: WireGuard is a finished piece of software. It gets: no feature updates, was designed in-full before a single line of code was written and has stood the test of time. You cannot compare that to some desktop application that has a thousand features with 100's more added every year.by himata4113
7/26/2026 at 9:09:57 AM
Some Rust programs also had RCE CVEs.by inigyou
7/26/2026 at 1:05:00 PM
Some is doing heavy misrepresentation.Latest batch of LLM's Linux had 423 vulnerabilities. Out of which 10 were Rust*. Would you prefer more or less CVEs?
But it's like seat belt analogy. It's a helper not a panacea.
* Granted Rust isn't in the entire kernel yet. D
by Ygg2
7/26/2026 at 9:04:44 AM
As a user you should be far more worried about running up-to-date software and supply chain risks rather than zero-days related to memory safety.by uecker
7/26/2026 at 9:35:09 AM
You wouldn't have to worry so much about running up to date software if memory safety were pervasive.by naasking
7/26/2026 at 9:50:35 AM
This is wrong as there are many other safety issues to worry about.by uecker
7/26/2026 at 11:38:10 AM
But memory safety is one of the big ones.by inigyou
7/26/2026 at 11:47:57 AM
Most people I know that had security incidents did not have this because of memory safety issues. But it does not matter, even without memory safety issues out of the picture, you would need to update your software and be wary of supply chain attacks.(Actually, I can't remember a single incident where somebody I knew was directly affected by a memory safety issue)
by uecker
7/26/2026 at 1:32:38 PM
> I can't remember a single incident where somebody I knew was directly affected by a memory safety issueThat doesn't mean the issue is nonexistent. See this article by Microsoft that shows the percentages of fixed CVEs that are related to memory safety.[1]
[1]: https://www.microsoft.com/en-us/msrc/blog/2019/07/we-need-a-...
by Pooge
7/26/2026 at 3:17:17 PM
Memory corruption is among the hardest things to exploit but also the most powerful. It used to be easier before things like ASLR and NX-stack.by inigyou
7/26/2026 at 1:50:36 AM
If as a user you're willing to pay these library/application owners and premium to do so, by all means; this is a reasonable demand. But short of a massive campaign to educate and change minds, I can't see the average user caring enough.by NBJack
7/26/2026 at 1:53:13 AM
My biggest gripe honestly is businesses rather than any particular opensource project, opensource projects can often get away with these issues getting caught by the many eyes looking at them before they ever make it to mainline.by himata4113
7/26/2026 at 4:13:00 AM
You will never change my mind.by userbinator
7/26/2026 at 9:25:43 AM
So you have a dogmatic belief, not based on evidence then.by benj111
7/26/2026 at 9:11:21 PM
The evidence is clear, "safety" paranoia is leading to increasing authoritarianism.by userbinator