3 ms·
Does Julia have Tail Call Optimization for recursion? I know it is not necessary, I was just curious, as thr language seems to have a lot of metaprogramming op
by wuschel 8y ago
Does Julia have Tail Call Optimization for recursion?
I know it is not necessary, I was just curious, as thr language seems to have a lot of metaprogramming options, and Femto-Lisp being part of the compiler.
- KenoFischer 8y agoNo, but it'd be fairly easy to activate, since LLVM supports it in code generation. The primary reason we don't is that it messes with stack traces too much.
- wuschel 8y agoThanks for your answer! Is TCO on the roadmap, or is the "mess it does with stack traces" too much?