Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Java-style exceptions give you a backtrace for free, which is a huge head start. With Rust you have to do a lot of manual plumbing with something like error_stack to get similar functionality

With crates like anyhow and eyre you also get backtraces "for free" nowadays, without needing to do manual plumbing (all you need to do is toggle on a feature flag).



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

Search: