News for hackers. Stuff that matters.
Re:Rust will likely not support tail call optimization by nicolast on Wednesday April 10, 2013 @03:33PM (#5527512)
Which is +- what Scala allows with an annotation.
Re:Rust will likely not support tail call optimization by fhars on Wednesday April 10, 2013 @04:33PM (#5527956)
No, scala's @tailrec annotation only guarantees that calls that can trivially be compiled to loops in fact are. You can't do better on a standard JVM without jumping through hoops (or, rather, trampolines).