4 ms·
FWIW, I used to be the lead of a C++14 RTOS. You can be low level and still use a lot fo these techniques. And that void*/goto hack sounds bad, even in C land
by monocasa 9y ago
FWIW, I used to be the lead of a C++14 RTOS. You can be low level and still use a lot fo these techniques.
And that void*/goto hack sounds bad, even in C land. That's basically only acceptable in a byte code interpreter.
- gpderetta 9y agowell, if you have to implement a non tail-recursive function and want to have control of the max recursion depth (i.e. not get killed because you have exhausted the stack) it is an option.
- monocasa 9y agoThere you should probably pass a iteration count into the function rather than some weird goto hack.