Re:Size cost of C++ exception handling on embedded platforms
by brandmeyer on Monday May 16, 2016 @10:50AM
(#11706636)
GCC does employ DWARF exception handling (the zero-cost EH model) on ARM7TDMI. While the cost is zero in time, it is not zero in space. The EH tables, unwinder code, and support code for them have a non-zero space cost. While the space cost is normally considered negligible in a workstation or server environment, in a microcontroller environment it most certainly is not.
[ Parent
| on HN ]
Re:Size cost of C++ exception handling on embedded platforms
by choosername on Wednesday May 18, 2016 @06:36AM
(#11720947)
well, if ypu want exceptions that practically don't exist neither in time nor space, use something else :)