On 6/5/2013 5:49 PM, deadalnix wrote:
The first point : Anders Hejlsberg: There are several reasons. One is
performance. We can observe that as people write code in Java, they forget to
mark their methods final. Therefore, those methods are virtual. Because they're
virtual, they don't perform as well. There's just performance overhead
associated with being a virtual method. That's one issue.
It is blatantly false. Maybe it was true at the time, I don't know, but I find
quite disturbing that the first argument is 100% moot.
It may very well be false for JIT systems, but for native code, we already
discussed that auto-finalization is unlikely to be practical for D.