News for hackers. Stuff that matters.
Re:Why Ruby's Timeout is dangerous (and Thread.raise is terr... by jwlato on Monday June 03, 2024 @01:11PM (#40564771)
Absolutely this. And when you look through the bug history of those low-level APIs there's a lot of evidence.

That said, the other big difference with Haskell is the low-level API actually provides functionality to solve the exact problem of an async exception being raised anywhere via `mask`. It's still hard to use correctly but at least it's possible.

There are no comments on this comment yet.