Inherent code performance advantages of D over C?

Walter Bright newshound2 at digitalmars.com
Fri Dec 6 15:48:27 PST 2013


On 12/6/2013 3:40 PM, bearophile wrote:
> Recently I have seen this through Reddit (with a comment by Anon):
>
> http://eli.thegreenplace.net/2013/12/05/the-cost-of-dynamic-virtual-calls-vs-static-crtp-dispatch-in-c/
>
> The JavaVM is often able to de-virtualize virtual calls.

I know. It is an advantage that JITing has. It's also an advantage if you can do 
whole-program analysis, which can easily be done in Java.



More information about the Digitalmars-d mailing list