There are many C++ features that make the language worse. Exceptions is one of them. It’s not strange to have them banned.
Critical systems often only allow you to use a subset of the language. Dynamic (heap) allocations, recursive functions, exceptions are features that are often banned. In medical devices, safety is critical, so it makes sense. Otherwise you could get a Therac-like scenario due to an unhandled exception.
There are many C++ features that make the language worse. Exceptions is one of them. It’s not strange to have them banned.
Critical systems often only allow you to use a subset of the language. Dynamic (heap) allocations, recursive functions, exceptions are features that are often banned. In medical devices, safety is critical, so it makes sense. Otherwise you could get a Therac-like scenario due to an unhandled exception.
That’s a great story. https://ethicsunwrapped.utexas.edu/case-study/therac-25