Does anyone know if at least D runtime and Phobos for D 2 will be pre-built as DLLs or at least ready to be compiled in such a way? Currently, as I understand, it will require to mark all relevant functions and/or classes as export. Couldn't find anything similar in current sources of DMD. Thanks.
Currently, Phobos is available as pre-built LIB file, which is statically linked to your executable during compilation.
This has some advantages to DLL:
Disadvantages
Why are you researching options of using DLL for Phobos? What insufficiencies do you seen in using LIB ?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With