News for hackers. Stuff that matters.
Re:Scala on LLVM by duaneb on Friday March 04, 2016 @12:41PM (#11225408)
> like guaranteed tail call optimization?

Isn't this what the @tailrec annotation is for? If it compiles it's tail recursive. This is separate than actually JIT'ing the call bytecode into a loop, I realize, but for a pragmatic engineer there's already a solution.

Re:Scala on LLVM by densh on Friday March 04, 2016 @12:44PM (#11225433)
@tailrec works only for simple cases of tail recursion. For example it doesn't support mutual tail recursion at the moment.