dmd codegen improvements

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 3 14:19:20 PDT 2015


On Thursday, 3 September 2015 at 21:01:10 UTC, Ola Fosheim 
Grostad wrote:
> Huh? Dynamic languages have dynamic lookup, how is that 
> different from virtual functions?

The specific implementation I used was like what D compiles to: 
index into an array. So it is a bit clunky to do 
obj.vtbl[2](args) rather than obj.foo(args).


More information about the Digitalmars-d mailing list