dlopen() of a D shared library works when called from a C++ file, and that a C++ file can call multiple D shared libraries simultaneously when using RTLD_LAZY option.
Before waiting for a full solution with an integrated druntime, is there at least a way to have a separate runtime in each shared library, so that dlopen() can be called from a D file? On Thu, May 21, 2015 at 1:07 AM, Jacob Carlborg via Digitalmars-d < [email protected]> wrote: > On 2015-05-20 23:35, bitwise wrote: > > Heh.. That's pretty useless. Any idea on the state of things? Like if >> there are plans to support this in the near future(few months)? I >> couldn't find many conversations on this. This kinda-totally ruins my >> plans(on OSX at least). >> > > I don't think anyone is working on this. Native TLS is a prerequisite > which requires changes both to the compiler and the runtime. There's an > enhancement request for native TLS [1]. > > [1] https://issues.dlang.org/show_bug.cgi?id=9476 > > -- > /Jacob Carlborg >
