Could DRuntime be implemented as a shared library?
Nicholas Wilson via Digitalmars-d
digitalmars-d at puremagic.com
Wed May 31 16:36:45 PDT 2017
On Wednesday, 31 May 2017 at 19:58:44 UTC, solidstate1991 wrote:
>> 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.
I'd suggest starting with Benjamin Thaut's DConf 2016 talk
https://www.youtube.com/watch?v=MQRHxI2SrYM
More information about the Digitalmars-d
mailing list