Non-fragile ABI in D?

Michel Fortin michel.fortin at michelf.com
Thu Feb 5 20:04:20 PST 2009


On 2009-02-05 12:53:07 -0500, BCS <ao at pathlink.com> said:

> What I would like to see is the vtbl offsets being patched up by the 
> linker. That way the vtbl can be reordered with impunity and you only 
> need to re link. You still can't get binary compatibility for DLL/SO's 
> (unless loading them does patching as well?)

There are many options. Either it's done by the linker and the dynamic 
library loader, or it's done by the library initialization code, or 
lazily on the first use of a class. Or we don't use virtual function 
tables at all...

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list