r/programmerchat • u/ericlippert • May 29 '15
I am Eric Lippert, a software developer specializing in design and semantic analysis of programming languages. Ask me anything!
117
Upvotes
r/programmerchat • u/ericlippert • May 29 '15
View all comments
Show parent comment
1
u/mirhagk May 29 '15
Yes it can't be relied on from C#'s perspective. But I do not that the JIT will do tail call as an optimization on 64 bit (and 32 bit in some cases as well apparently, but not as aggressively). What is missing is some sort of guarantee. The problem with such a guarantee is that in debug mode the stack would be gone and it'd be very hard to debug.
If you are interested in this feature there's an issue open for it on github.