digitalmars.D - Help with DMD internals
- kullboys (17/17) Jun 18 2018 Hello everyone
- Nicholas Wilson (3/21) Jun 18 2018 You should get in contact with Manu Evans, he's working on this
- David Nadlinger (4/6) Jun 18 2018 Might be a lonely conversation – this is a spam-bot repost of one
- Nicholas Wilson (2/8) Jun 18 2018 No wonder it sounded like something Manu was doing.
Hello everyone Then... next up, extern(C++) classes need to place __xdtor in the vtable (posix uses 2 slots). We need the vtable to match naturally, without advising people to add a dummy method. I also have a hack in progress to support `final ~this()` in extern(C++) classes, which will omit it from the vtable (once it's in there!), since there are also C++ classes without virtual destructors. This work is hard... adding the dtor to the vtable freaks DMD out in all sorts of ways and ICE's everywhere. Any comments on any of these points appreciated. I don't know what I don't know. There's probably reasons that these things aren't all done already... Thanks[url=http://www.chevylegends.com/forum/showthread.php?1875-Introduction&p=12467].[/url]
Jun 18 2018
On Monday, 18 June 2018 at 09:58:05 UTC, kullboys wrote:Hello everyone Then... next up, extern(C++) classes need to place __xdtor in the vtable (posix uses 2 slots). We need the vtable to match naturally, without advising people to add a dummy method. I also have a hack in progress to support `final ~this()` in extern(C++) classes, which will omit it from the vtable (once it's in there!), since there are also C++ classes without virtual destructors. This work is hard... adding the dtor to the vtable freaks DMD out in all sorts of ways and ICE's everywhere. Any comments on any of these points appreciated. I don't know what I don't know. There's probably reasons that these things aren't all done already... Thanks[url=http://www.chevylegends.com/forum/showthread.php?1875-Introduction&p=12467].[/url]You should get in contact with Manu Evans, he's working on this as well IIRC.
Jun 18 2018
On Monday, 18 June 2018 at 10:19:57 UTC, Nicholas Wilson wrote:You should get in contact with Manu Evans, he's working on this as well IIRC.Might be a lonely conversation – this is a spam-bot repost of one of Manu's messages. ;) —David
Jun 18 2018
On Monday, 18 June 2018 at 10:23:21 UTC, David Nadlinger wrote:On Monday, 18 June 2018 at 10:19:57 UTC, Nicholas Wilson wrote:No wonder it sounded like something Manu was doing.You should get in contact with Manu Evans, he's working on this as well IIRC.Might be a lonely conversation – this is a spam-bot repost of one of Manu's messages. ;) —David
Jun 18 2018