User loginNavigation |
Why is tail call optimization an issue in GC'd languages?I have never quite understood the reason (or excuse) for not supporting tail call optimization in environments that support GC. Why is it an issue at all? If a function has nothing left to do, its activation record ought to be simply reclaimable. Why do the .NET IL and LLVM require an explicit 'tail' annotation, and why doesn't Java just support it out of the box? The ability to debug using a stacktrace is a rather weak argument. Other than that, I can see that varargs would pose a problem in C, but surely not in Java/.NET. What am I missing? By Sriram Srinivasan at 2011-05-15 16:33 | LtU Forum | previous forum topic | next forum topic | other blogs | 22320 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 13 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago