Hacker News

Favorites Setup
Comment by uecker | original | C for Rust programmers
[−]uecker · 2026-10-11 Sun 09:38 UTC · link
It is true that you will not get full lifetime analysis with a C compiler, I do not think this defeats my point. (and you can get lifetime analysis with other tools, but we lack good tooling for this)

For me, memory safety is also mostly a theoretical concern in C. This is achieved by having proper abstractions instead of low-level pointer fiddling and by having a clear strategy for managing lifetimes.