3 ms·
I try to avoid using STL because it A) throws exceptions, B) has really convoluted type names, and C) dynamically allocates memory. These are all things you avo
by jschwartzi 8y ago
I try to avoid using STL because it A) throws exceptions, B) has really convoluted type names, and C) dynamically allocates memory. These are all things you avoid in the embedded space.
- maxxxxx 8y agoMakes sense for embedded.
- gowld 8y agoAny use of templates has the same problem, including templates that are used to generate highly efficient static constants and non-branching-at-runtime code.
- llukas 8y agoExample? Templates (template metaprogramming) help to avoid exceptions. You can check invariants first and jump into efficient code.