Join Nostr
2025-05-20 18:32:51 UTC
in reply to

mei on Nostr: nprofile1q…d6kk0 nprofile1q…lnalw This is something that I feel is commonly ...

This is something that I feel is commonly misunderstood about Rust by people outside the community: the whole point of Rust is that you can build sound abstractions on top of small amounts of unsafe code. This is the key tradeoff that Rust got right: if you insist that the compiler is able to verify absolutely everything, you either get extremely limited expressiveness, or introduce a lot of complexity for being able to prove arbitrary memory management patterns correct (see e.g. RefinedC and how they essentially need to pull in an entire proof assistant, or ATS which again, is itself a very obtuse proof assistant).

Rust found the perfect middle ground: lots of practical impact for correctness, with the effort required still being low enough to get massive adoption.