On Tuesday, 26 January 2021 at 14:12:17 UTC, Adam D. Ruppe wrote:
On Monday, 25 January 2021 at 21:48:10 UTC, Vitalii wrote:
Q: Why filling assoc.array in shared library freeze execution?

D exes loading D dlls are very broken on Windows. You can kinda make it work but there's a lot of bad design and showstopper bugs.

That's the sad reality of it. I'd suggest finding a different approach. Maybe IPC or maybe making either the exe or dll not use druntime (like redesigning for -betterC, though even there it is tricky since like global variables aren't imported from the dll by the compiler, you have to do extra indirection yourself)

Thank you, Adam!

Reply via email to