Consuming D libraries from other languages

Templated Person templated at person.com
Wed Jun 15 17:37:32 UTC 2022


It there any resources on how to build D static (`.lib` / `.a`) 
and dynamic libraries (`.dll` / `.so`), and then use them from C?

Do I need to link and initialize phobos somehow? What if I don't 
want to use the D runtime? What happens with module level 
`this()` and `~this()`? Is there a comprehensive guide on how to 
do this stuff?


More information about the Digitalmars-d-learn mailing list