Tail pad optimization, cache friendlyness and C++ interrop

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 10 13:50:45 PDT 2014


On 6/10/2014 12:30 AM, deadalnix wrote:
> thought ?

This does not apply to D structs because D structs do not inherit.

C doesn't have classes, so no issues there.

extern(C++) class should match the C++ ABI for this.

extern(D) class we are free to innovate with the layout.

I suggest turning this into a bugzilla enhancement request.


More information about the Digitalmars-d mailing list