Remix.run Logo
matheusmoreira 7 hours 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

secondcoming 6 hours ago | parent [-]

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