Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> but the tail calls are integral to the function of the interpreter

Not really, a trampoline could emulate them effectively where the stack won't keep growing at the cost of a function call for every opcode dispatch. Tail calls just optimize out this dispatch loop (or tail call back to the trampoline, however you want to set it up).

 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: