On Friday, 8 December 2017 at 14:59:12 UTC, Jacob Carlborg wrote:
On 2017-12-07 16:09, Jean-Louis Leroy wrote:This experiment is related to an ongoing discussion with Walter, Andrei and Ali on extending D with general mechanisms to better support libraries like openmethods. I will post in Studies soon.Modifying the vtable can be useful for mocking and stubbing methods as well.
Indeed. The initial vtable is in read only memory, but the re-allocated one is writeable.
