frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Memory Safety Absolutists

https://itsallaboutthebit.com/memory-safety-absolutists/
27•drogus•3h ago

Comments

himata4113•27m ago
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.

leni536•25m ago
Fil-C is basically an alternate ABI and libc runtime. Otherwise it is not tied to C and I see no reason it couldn't be targeted by Rust or Zig.
throwlifeaway•13m ago
Pizlo is not a memory safety absolutist. His rhetoric towards rust is a tactic specifically designed to draw more attention to him and his project. It is amplified by people who already had a bone to pick with rust and take joy in giving rust folk "a taste of their own medicine," so to speak. Articles like this are taking the bait.
rowanG077•12m ago
Something that is much more important to me is that it's caught at compiler time. A memory issue is a logic bug. Fil-c simply moves that from undefined behavior/security issue/incorrectness to a crash. That's better than what it was. But I generally don't want my programs to crash. Having memory safety at compile time is infinitely more worthwhile imo.
noelwelsh•11m ago
Good article. Not much to add to it, other than I think more people should look at modal type systems like found in Scala 3 and OxCaml. If you want safe arena allocation they are a lot more ergonomic than Rust's approach.
kmeisthax•10m ago
I was not aware of the antagonism from the Zig / Fil-C people to Rust, but it makes absolutely no sense.

Like, of course you can prevent all memory safety errors by using a garbage collector. That has been known since the 90s. In fact, there was a good two decades after Java released where all the research on memory safety just stopped, because the standard answer became "use a GC". If you couldn't use GC, you were stuck with languages made prior to Java - which in practice meant just C - or the one language everyone tried to staple every new programming paradigm onto, C++.

In fact, part of why C++ became such an untameable beast of a language is because it became load-bearing for non-GC projects. Anything not in the ISO C++ standard was, in practice, something you just couldn't do in native code. Oh, of course you can't introspect structs in a compiled language, of course macros are useless and unhygenic, of course templates have to be monomorphized and bloat your binary size. And so the pressure for C++ to be an all-singing, all-dancing, all-dressed language grew.

Rust's big story is memory safety, but the more Rust I wrote, the more I realized that the memory safety is only part of the picture. Rust has a very nicely curated selection of features that allows the language to remain understandable despite the sophistication of the compiler. Memory safety is a selling point, sure, but it is also the lubricant that makes working with those features pleasant.

If you want a real complaint about Rust, it's that some features are oversimplified in ways that make certain scenarios harder and make some features way more "magic" than they should be. Have you ever tried writing Futures code without making use of the async keyword? It's nearly impossible, for several reasons; the main being that Rust's type systems cannot express self-referential borrows. This also makes returning a reference to something in an Rc or RefCell you own more difficult[0]. And there are numerous other states memory can be in that are hidden from Rust's type system. Rust can't even represent a real destructor fn. Dropping a value multiple times, or using it after it's been dropped, is explicitly forbidden; but Drop impls still can't take values out of themselves because Rust doesn't have an "owned reference" - i.e. memory you can take values from but can't deallocate.

But none of this compromises memory safety - it just makes certain things harder than they should be.

[0] Strictly speaking, there's an owning_ref crate that manages this; stdlib is also working on a "mapped mutex guard" type that would do the same thing without a dependency.

hmry•7m ago
It's annoying how many comment sections online are now just Rust vs Fil-C / Zig flamewars, and the creators of those languages are deliberately fanning the flames.

I also feel there's a second dimension to the politics, where Rust is the "woke" language and C / Zig / Odin are now the "anti-woke" languages. At least, going by their most vocal online communities.

I'm sure offline there's still engineering decisions being made (I hope).

Stolen Buttons

https://anatolyzenkov.com/stolen-buttons
454•Gecko4072•5d ago•105 comments

Producing ammonia and fertiliser using wind power in Morris, Minnesota

https://ammoniaenergy.org/articles/flexible-renewable-ammonia-demonstrator-now-operational-in-min...
50•gritzko•1h ago•19 comments

Android May Soon Restrict On-Device ADB

https://kitsumed.github.io/blog/posts/android-may-soon-restrict-on-device-adb/
817•shscs911•14h ago•392 comments

Open-weight AI is having its Kubernetes moment

https://tobi.knaup.me/2026-07-25-open-weight-ai-is-having-its-kubernetes-moment/
249•tknaup•6h ago•182 comments

Show HN: I made some transistor animations

https://brandonli.net/semisim/animations
69•stunningllama•1d ago•7 comments

Show HN: Brolly, a plain-text weather forecast site

https://brolly.sh/forecast/RWFP2qW8
61•jsax•3h ago•19 comments

Bitchat is now on Radicle

https://radicle.network/nodes/rosa.radicle.network/rad%3Az2v9tRJz1oknFAqCSY5W5c76nVvm6
176•h1watt•8h ago•109 comments

Memory Safety Absolutists

https://itsallaboutthebit.com/memory-safety-absolutists/
28•drogus•3h ago•7 comments

How My Images Are Dithered

https://dead.garden/blog/how-my-images-are-dithered.html
193•surprisetalk•3d ago•70 comments

Zero roadkill as Amazon canopy bridges secure 15,000 crossings

https://news.mongabay.com/2026/07/zero-roadkill-as-amazon-canopy-bridges-secure-15000-crossings/
215•hn_acker•3d ago•65 comments

Bringing PyTorch Monarch to AMD GPUs

https://pytorch.org/blog/bringing-pytorch-monarch-to-amd-gpus-single-controller-distributed-train...
48•gmays•5h ago•6 comments

The growing vigilante movement to knock out Flock surveillance cameras

https://www.theguardian.com/us-news/ng-interactive/2026/jul/25/flock-surveillance-cameras
88•bookofjoe•2h ago•27 comments

The Dark Night of Mathematics

https://kirwinhampshire.substack.com/p/the-dark-night-of-mathematics
115•rmdmphilosopher•5h ago•116 comments

The Fedora 45 Sausage Factory

https://supakeen.com/weblog/the-fedora-45-sausage-factory/
118•6581•10h ago•35 comments

Building a Tiny 3D Renderer for a Tiny Handheld

https://saffroncr.itch.io/katavatis/devlog/1534514/building-a-tiny-3d-renderer-for-a-tiny-handheld
213•g0xA52A2A•3d ago•17 comments

Spatial languages: Writing code in 2D

https://shukla.io/blog/2026-07/cccx.html
87•BinRoo•3d ago•36 comments

Tile's security is so bad it's a feature for stalkers

https://blog.adafruit.com/2026/03/05/tiles-security-is-so-bad-its-a-feature-for-stalkers/
95•sambellll•3h ago•33 comments

My web version of Mars MIPS, now has built-in C compiler

https://webmars.nfiles.top/
29•nenepbl•7h ago•6 comments

Starveling Rabblement

https://www.lrb.co.uk/the-paper/v48/n13/terry-eagleton/starveling-rabblement
3•prismatic•3d ago•0 comments

Show HN: Yorishiro – a macOS terminal where AI agents live

https://github.com/sktkkoo/Yorishiro
7•hakumei•3d ago•2 comments

GDID Windows – Cut the tracker that follows you even under VPN

https://korben.info/en/gdid-windows-cut-tracker-vpn.html
85•rfarley04•4d ago•62 comments

The Silurian Hypothesis (2020)

https://www.theparisreview.org/blog/2020/01/23/the-silurian-hypothesis/
50•andsoitis•7h ago•93 comments

Rauno's Field Notes #2

https://rauno.me/notes/2
19•acmnrs•4h ago•1 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•9h ago

NYC Apartment Aquaponics

https://erinmurphy.dev/projects/project-2/
178•mm1119•5d ago•75 comments

Scanwheel is a drum style mechanical television you can build yourself

https://github.com/AncientJames/Scanwheel/
55•tobr•7h ago•12 comments

Charles Ross spent 50 yrs building Star Axis naked-eye observatory in New Mexico

https://www.nytimes.com/2026/07/22/arts/design/charles-ross-star-axis-land-art.html
93•ChrisArchitect•2d ago•21 comments

MouthPad: A Tongue-Controlled Touchpad

https://www.augmental.tech/
150•ZaninAndrea•13h ago•29 comments

Engineering management after the cost of code collapsed

https://karimjedda.com/engineering-management-after-cost-of-code-collapse/
91•kiyanwang•6h ago•142 comments

Task-centered iproute2 user guide

https://baturin.org/docs/iproute2/
28•greengreengrass•6h ago•3 comments