by specialist · 9y ago · 0 comments
I just wrote a Redis REPL (wire protocol) parser using recursion. Being so simple, I wasn't worried about stack depth. But while stepping thru with WebStorm's debugger, I noticed the tailcalls were (apparently) being eliminated. An unexpected surprise.
Using nodejs 6.11.1, npm 3.10.10.