Comment by jonathanlydall
8 hours ago
Yes, languages and/or engines with this feature can eliminate any concerns about stack overflows.
But in this particular case I'm using JavaScript (since at this time it has the best libraries for working with TypeScript ASTs) running under Node.js, and my understanding is that is has no tail call optimization.
The other language I mostly work in is C#, which also similarly lacks it.
So, at this time in the languages I work in, I need to consider possible stack overflows whenever I use recursion.
No comments yet
Contribute on Hacker News ↗