On Sunday, 27 March 2016 at 17:58:01 UTC, bitwise wrote:
On Sunday, 27 March 2016 at 16:54:53 UTC, bitwise wrote:
Phobos should be linked statically even when it's a shared
library, so it should still have all static ctors called
properly.
Bit
Correction...Phobos would be statically linked to a dynamically
loaded shared library. This could be a problem.
Hasn't seen any practical problem with that, not sure why people
say it's a bad idea TBH. I like that everything is in a single
static binary.
The way bigger problem being OSX shared libraries unloading (with
the leaking workaround), I haven't really followed your work
recently about it!