[D-runtime] druntime should be a shared library/DLL

Sean Kelly sean at invisibleduck.org
Thu Feb 21 09:15:30 PST 2013


On Feb 6, 2013, at 4:56 PM, David Nadlinger <code at klickverbot.at> wrote:
> 
> But the situation is a *bit* more complex than that. For example,
> currently the GC root ranges for static and TLS data are just
> determined once at program startup by taking the address of the
> respective marker symbols. This clearly can't work in the presence of
> multiple images that can also be loaded and unloaded during execution,
> and having a shared druntime doesn't magically change that.

Runtime.loadLibrary etc can be extended to handle the additional tasks.  As Brad said, it's really just a matter of someone taking ownership of the task.  I don't use dynamic libraries much myself or I'd have probably pushed this one farther already.


More information about the D-runtime mailing list