3 ms·
Nobody disables RAII or vtables ( and I don't know how you would 'disable' those). We do disable RTTI and exceptions though.
by monocasa 9y ago
Nobody disables RAII or vtables ( and I don't know how you would 'disable' those).
We do disable RTTI and exceptions though.
- stevenhuang 9y agoYou're right, I was thinking about RTTI there, and wrong phrasing for vtables (should have said to avoid the virtual keyword and dynamic binding).
- monocasa 9y agoI mean, even virtual dispatch is fine if you opt in to it. Pointer indirection costs way less relatively on embedded systems than big boy systems with DRAM and caches.