logoalt Hacker News

matheusmoreirayesterday at 10:52 PM1 replyview on HN

Exceptions are actually a form of code compression. Past some break even point they are a net benefit, even in embedded codebases. They're "bad" because the C++ implementation is garbage but it turns out it's possible to hack it into a much better shape:

https://youtu.be/LorcxyJ9zr4


Replies

secondcomingyesterday at 11:13 PM

There is no such thing as the 'C++ implementation' of exceptions. Each vendor can do it differently.