Slow performance compared to C++, ideas?

Walter Bright newshound2 at digitalmars.com
Thu Jun 6 11:20:55 PDT 2013


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.


More information about the Digitalmars-d mailing list