Could DRuntime be implemented as a shared library?

solidstate1991 via Digitalmars-d digitalmars-d at puremagic.com
Wed May 31 12:58:44 PDT 2017


> Won't work, TypeInfo doesn't cross the shared library boundary 
> atm. This is probably the real blocker for shared libs on 
> Windows (includes Phobos as a DLL).
>
> The GC can be swapped out already at runtime, just need shared 
> libs to be working properly :)

Where can I read more about this TypeInfo issue? In July I'll 
have a bit more free time, maybe I can help with it.

> We already do all this, on Linux (and I think OSX too) 
> Phobos+druntime is built as a shared library by default.

I knew that under Linux Phobos is a shared library, I didn't know 
about the rest.


More information about the Digitalmars-d mailing list