Re:C as an Intermediate Language (2012)
by loup-vaillant on Monday May 16, 2016 @03:08AM
(#11704739)
> 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…
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…