logoalt Hacker News

svachalekyesterday at 7:11 PM2 repliesview on HN

Hasn't the past 30 years of the Internet age taught us that given such trust, programmers will make the incorrect decision with horrifying predictability? The most trivial level of software security requires that pointer safety needs to be mathematically proven not up to human (or LLM) judgment.


Replies

yefoltoday at 12:03 AM

Does that include deadlock safety?

Try running both of these examples. They only differ in a pair of curly braces.

https://play.rust-lang.org/?version=stable&mode=debug&editio...

https://play.rust-lang.org/?version=stable&mode=debug&editio...

https://fasterthanli.me/articles/a-rust-match-made-in-hell

Mojo handles this significantly better than Rust.

show 1 reply
insanitybittoday at 1:50 AM

Yes, undoubtedly. Anyone in denial of this should be legally barred from programming.