Re:Node 8.3.0 released
by eric_bullington on Thursday August 10, 2017 @01:04PM
(#14981751)
It's behind a flag now, but they're eliminating it, so it will not be released.
Yeah, tail call optimization has been in since node 6, I believe. _Maybe_ behind a v8 flag.
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.