News for hackers. Stuff that matters.
Re:Thoughts on the “Guard” Proposal for Go's Error Handling by nyanpasu64 on Sunday November 06, 2022 @01:00AM (#33489169)
C++ exceptions and Rust Anyhow errors lack stack traces by default, whereas Java exceptions capture them by default, aiding debugging. I'm not sure if Rust spans satisfy the same requirements as stack traces; they seem more built around logging and asynchronous execution, than error handling and synchronous code.
Re:Thoughts on the “Guard” Proposal for Go's Error Handling by jamincan on Sunday November 06, 2022 @07:52AM (#33492039)
I believe the backtrace API was added to stable rust with the most recent release, and so anyhow backtraces should now be available outside of nightly.