News for hackers. Stuff that matters.
Re:Rust will likely not support tail call optimization by tsewlliw on Wednesday April 10, 2013 @03:26PM (#5527470)
Amusingly, "losing stack trace information" is among the reasons the JVM doesn't do TCO -- it needs to keep it around for the security manager to do its thing. Its especially annoying there because references are held by higher stack frames and prevent GC, and the destructor excuse isn't present.
Re:Rust will likely not support tail call optimization by happy_dino on Wednesday April 10, 2013 @03:53PM (#5527647)
> it needs to keep it around for the security manager to do its thing

Haha. As if the JVM needed proper tail calls to get owned every other week. :-)

Anyway, the discussion is pretty much moot, because "JVM" doesn't really refer to specific implementation. If one cares about proper tail calls, use an implementation which supports it.

Re:Rust will likely not support tail call optimization by douglasisshiny on Wednesday April 10, 2013 @04:08PM (#5527788)
Does the JVM get 'owned every other week'? Or are you thinking of the JRE?
Re:Rust will likely not support tail call optimization by pjmlp on Thursday April 11, 2013 @03:03AM (#5530392)
> Haha. As if the JVM needed proper tail calls to get owned every other week. :-)

Correction, the JVM that is made available by Oracle, and most people wrongly think it is the only one.

There are tons of JVM vendors out there.

Re:Rust will likely not support tail call optimization by happy_dino on Thursday April 11, 2013 @06:12AM (#5530966)
Which I more or less already said with

> If one cares about proper tail calls, use an implementation which supports it.

Right?

Re:Rust will likely not support tail call optimization by pjmlp on Thursday April 11, 2013 @09:39AM (#5531862)
I would say yes, but your remark about getting owned is Oracle specific hence my comment.