runtime evaluation

Jacob Carlborg doob at me.com
Sat Dec 14 05:45:00 PST 2013


On 2013-12-14 13:15, hoya wrote:
> If I read it correctly, there is no possibility to create classes,
> structs, templates, functions or to import libs at runtime.
> Is there already an approach to add some functionality?
> I know, that D is a compiled language, but Java is too and supports
> class loading at runtime or more in general: runtime evaluation.

You can instantiate classes at runtime using Object.factory. You can 
also loaded classes using dynamic libraries, just as in C or C++.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list