Getting rid of dynamic polymorphism and classes

Eldar Insafutdinov e.insafutdinov at gmail.com
Fri Nov 9 11:56:26 PST 2012


I have had the same thoughts for quite some time now - 
library-based runtime polymorphism implementation. You can 
already do something like: http://pastebin.com/X2JFP1sD . However 
it is inefficient as you have to store thisptr for each delegate. 
One has to think about how to implement it more efficiently - 
some metaprogramming will be required.


More information about the Digitalmars-d mailing list