News for hackers. Stuff that matters.
Re:Rust will likely not support tail call optimization by kragen on Friday April 12, 2013 @08:32AM (#5538057)
Because the security manager needs to be able to introspect the stack. Avian isn't a JVM; it's "designed to provide a useful subset of Java's features" and can run some Java code.
Re:Rust will likely not support tail call optimization by abecedarius on Monday April 15, 2013 @01:16AM (#5549887)
It's actually possible to implement the stack inspection in a tail-call-friendly way (along the lines of Racket's continuation marks IIRC), though AFAIK nobody does it.
Re:Rust will likely not support tail call optimization by happy_dino on Friday April 12, 2013 @08:40AM (#5538079)
> Because the security manager needs to be able to introspect the stack.

Not allowing certain “optimizations” in security-sensitive contexts is perfectly fine. In fact, this is exactly what Avian, the CLR (and pretty much everyone else) is doing.

> Avian isn't a JVM; it's "designed to provide a useful subset of Java's features" and can run some Java code.

Now you're talking about legal aspects. Frankly, I'm not interested in discussing those.

Avian is a JVM for all practical purposes. If you disagree, please provide a test-case which runs on HotSpot but not on Avian.