Re:Switching from C++ to Rust
by planede on Tuesday March 14, 2023 @11:40AM
(#35153309)
I meant exceptions as a user of the language. You can decide not to throw. You can mark functions noexcept.
Granted, it's more awkward when you consume 3rd party libraries, but you can still wrap them in noexcept interfaces and be fine with terminating when an exception is actually thrown or do something else. Not much different to a panic.
Granted, it's more awkward when you consume 3rd party libraries, but you can still wrap them in noexcept interfaces and be fine with terminating when an exception is actually thrown or do something else. Not much different to a panic.