Re:The Pain of Real Linear Types in Rust
by cwzwarich on Tuesday May 09, 2017 @04:02PM
(#14303344)
I agree. The sad thing is that an effect system to ensure that destructors and other unwinding code can't throw new exceptions is quite simple to add to a language. Depending on the language/libraries it might cause a need to expose some new library functions that don't throw exceptions, but it's already a bad sign if you're doing nontrivial failure-prone work in destructors anyways.
[ Parent
| on HN ]
There are no comments on this comment yet.