2 ms·
> don't have silicon support for indirect function call (i.e. by function pointer), so they work around this problem by saving function address to the stack and
by deathanatos 11y ago
> don't have silicon support for indirect function call (i.e. by function pointer), so they work around this problem by saving function address to the stack and execution 'return' instruction.
While no doubt this is true, if you have an indirect function call in C++ OO code, how do you not have it in C? That you had it in C++ implies — I hope — that you needed it. The C code can't simply whisk that need away. (Or, if it can, so can the C++…)