Hi Everyone, given that CLR supports tail call optimization I was wondering if Mono, and consequently Ironpython running on Mono has support for TCO ?
+4
A:
I can't give a definitive answer, but there is ample evidence in forums (e.g., here) that because Mono doesn't use a callee-pops-arguments calling convention, it can't (easily) support tail calls. There is a couple of unresolved bugs, here and here, indicating that F# is still waiting for this.
Marcelo Cantos
2010-10-31 03:28:38
@Marcelo Thanks that was very helpful +1
srean
2010-10-31 03:29:31
A:
Duplicate question: http://stackoverflow.com/questions/3816148/does-the-mono-runtime-already-handle-tail-call-optimisation-as-required-by-the-il
skolima
2010-10-31 10:04:43
@Skolima Not quite, my question was with regards to _Ironpython_ running on Mono rather than on Mono per se
srean
2010-10-31 18:33:25