News for hackers. Stuff that matters.
Re:Switching from C++ to Rust by pjmlp on Tuesday March 14, 2023 @09:58AM (#35151615)
They aren't as per ISO C++, even though all compilers allow to disable them in non standard conforming ways.
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.