title: Performance when exceptions are not thrown (C++)
body: <p>I have already read a lot about C++ exceptions and what i see, that especially exceptions performance is a hard topic. I even tried to look under the g++'s hood to see how exceptions are represented in assembly.</p>
  
  <p>I'm a C programmer, because I prefer low level languages. Some time ago I decided to use C++ over C because with small cost it can make my life much easier (classes over structures, templates etc.).</p>
  
  <p>Returning back to my question, as I see exceptions <strong>do generate overhead</strong> bud only when <strong>they occur</strong>, because it require a long sequence of jumps and comparisons instructions to find a appropriate exception handler. In normal program execution (where is no error) exceptions overhead equals to normal return code checking. Am I right?</p>