Elektrine lite

← Feed

@calcopiritus@lemmy.world

Post #3531051

2026-06-25 04:13 UTC

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.

Replies (0)

No replies.