4 ms·
How is RAII a problem on embedded platforms? It is basically about scoped cleanup, something you would otherwise have to do manually.
by spacechild1 3y ago
How is RAII a problem on embedded platforms? It is basically about scoped cleanup, something you would otherwise have to do manually.
- actionfromafar 3y agoNot sure what waa meant but what comes to mind to me who has dabbled in embedded is that in C it’s painfully clear how long “objects” live and when you tear them down and how. In C++ stuff can easily “happen” at an inopportune moment.
- mgaunard 3y agoSame in C++: happens at the end of the scope. You precisely control where that is.