On 3/29/2014 5:57 PM, deadalnix wrote:
All is in the title.This is becoming increasingly the norm in new languages. It is much better in term of performances (it avoid cascaded loads to call methods, which can be really costly on modern CPUs), make object themselves smaller. Would implementing them that way break D code ? What would be the extent of the breakage ?
D already has phat pointers - that's what delegates are. I'm curious how the scheme you propose is different?