Hacker News new | ask | show | jobs
by matheusmoreira 146 days ago
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

1 comments

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