Re:Size cost of C++ exception handling on embedded platforms
by willvarfar on Monday May 16, 2016 @05:01PM
(#11709588)
FWIW, the Symbian file server used an exception to get out of a crucial loop. It was a bit of laughable trivia, but a bunch of us set out to prove it was a bad idea... but on profiling it was provably noise. We moved from setjmp implementation to EABI zero-cost and it was still no issue.
Just a data-point and a good case of profiling beating intuition :)
Just a data-point and a good case of profiling beating intuition :)