Hacker News new | past | comments | ask | show | jobs | submit login

Various refcount overflows also abort: mpmc, Arc, Rc: https://doc.rust-lang.org/src/alloc/rc.rs.html#2628

I think we're lucky the usual "aha rust isn't so safe after all, checkmate rustaceans!" crowd hasn't run into these aborts yet, because they won't have any kind of debugging spew so are not very friendly. You have to intentionally leak refcounts to hit these aborts or else you first run out of memory just storing the pointers; but then again, intentionally leaking things is just the sort of thing the anti-rust crowd is likely to try.




Mostly once they discover they can leak things, Rust is pronounced "not really safe" by such people anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: