On Wednesday, 2 October 2013 at 01:31:42 UTC, Martin Nowak wrote:
On 09/30/2013 10:53 PM, FreeSlave wrote:
I'm currenly working on such module now. Here it is
https://bitbucket.org/FreeSlave/dido
https://github.com/D-Programming-Language/druntime/pull/617
http://dconf.org/talks/nowak.html
Yeah, that was video I inspired from. Well, seems my work was
needless... Anyway where is it better to contribute - here or on
github?
About the base class - user still needs to cast Object returned
by ClassInfo to appropriate interface otherwise she can't get
functionality of loaded class. Also I assume ClassInfo can't
create instances of C++ classes. Though I'm not sure if standard
D library should have this capability.
Ok, I looked your implementation on github. Are you sure we don't
need to use exceptions instead of just returning null? I believe
as library does not export required function it's definitely some
kind of critical error and can't be omitted.