2 ms·
> For example, let's say your language has behavior similar to scheme's tail-call. How would you get this behavior from a C compiler? Well, there's still the u
by loup-vaillant 10y ago
> For example, let's say your language has behavior similar to scheme's tail-call. How would you get this behavior from a C compiler?
Well, there's still the unreasonable way: compile in continuation passing style, and trampoline every call. I shall not be held responsible for any performance problem this advice may cause however…