Dear all,

I was trying to invoke some D code from Python and ran into issues which I eventually traced back to a simple example on the D website itself :

https://dlang.org/articles/dll-linux.html

Particularly the section "Dynamically Loading a D DLL From a C Program"

In my case, and indeed already in 2013 (https://forum.dlang.org/post/yeqyqaaguhngczlnv...@forum.dlang.org), shared static this does not get invoked

I normally use:
LDC - the LLVM D compiler (1.21.0):
  based on DMD v2.091.1 and LLVM 10.0.0   (under Linux)

but I also tried
DMD64 D Compiler v2.095.0

Is the solution suggested in the linked post the "canonical way"?

Where could one file a suggestion for an update to the documentation?

Cheers!

PS Enjoying my project in D especially how easy it is to get the same code to run under windows too




Reply via email to