A new WG21 paper is available. A copy is linked below, and will also appear in the next normal WG21 mailing. If you are not a committee member, please use the comments section below or the std-proposals forum for public discussion.
Document number: N4049
0-overhead-principle violations in exception handling
by Daniel Gutson, Angel Bustamante, Pablo Oliva, Marcos Diaz
Sometimes the 0-overhead principle is not honored; one has to pay for things that are not used. An instance where this can be observed is the Exception Handling mechanisms implemented by the diverse toolchains.
In an average computing environment, this has little or no importance; the overhead is minimal and its impact is negligible.
But on embedded systems, where memory is scarce, the overhead imposed by unused language constructs can exceed the capabilities of the available hardware, as we will show is the case for exceptions.
Add a CommentComments are closed.