←back to thread

124 points phsilva | 1 comments | | HN request time: 0.208s | source
Show context
saidinesh5 ◴[] No.43111181[source]
Recent discussion: https://news.ycombinator.com/item?id=42999672

Do check out the articles in the top most comment.. about how tail call optimization gets you faster interpreters.

It completely eliminates the overhead of function calls in the generated machine code while you still your code modularly using functions.

replies(2): >>43111650 #>>43112498 #
1. nine_k ◴[] No.43112498[source]
I think this technique is known since 1970s as "direct threaded code".