TGViewer
HN Best Comments HN Best Comments @hn_best_comments · 4.18K subscribers
Post #34077 486
Re: 11 year old unsoundness bugs found in Rust borrow checker

Type systems are hard! Check out https://counterexamples.org/

I gave it a quick scan for Rust examples; there are 11 samples among the following pages:

  https://counterexamples.org/eventually-nothing.html
https://counterexamples.org/mutable-matching.html
https://counterexamples.org/selfishness.html
https://counterexamples.org/scope-escape.html
https://counterexamples.org/nearly-universal.html

The first thing I always look for is mutability (combined with some other tricky feature), e.g. "Now it's a Just(3):Maybe<Int>, now it's a Nothing:Maybe<Int>, now it's a Nothing:Maybe<String>."

I wonder if TFA's example could be reproduced without mutability.

mrkeen, 7 hours ago
More from @hn_best_comments
  1. Oct 14, 2026Re: OpenAI engineer arrested in bugging of executive conference room These are not very sm…
  2. Oct 14, 2026Re: New Apple TV 4K I'm a little surprised at the price (especially when their newly-annou…
  3. Oct 14, 2026Re: Firefox Enterprise Folks here don't understand how big of a market this is. Island jus…
  4. Oct 14, 2026Re: Gemini 4 Argon I just created a Google account, which was a hassle. I tried to find an…
  5. Oct 14, 2026Re: Gemini 4 Argon I haven't tried it for coding yet, but I ran a couple of my recent curi…
  6. Oct 13, 2026Re: Gemini 4 Argon I'm using this model via API. I am most excited about its ability to wr…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →