Re:Rust will likely not support tail call optimization
by tsewlliw on Wednesday April 10, 2013 @02:58PM
(#5527259)
I'd vote getting to use RAII is a better win than TCO.
And really its by definition not a tail call when you have to run destructors after a "tail" call, and tricky/annoying to express that destructors should be run prior to a tail call.
And really its by definition not a tail call when you have to run destructors after a "tail" call, and tricky/annoying to express that destructors should be run prior to a tail call.