D and shared librery

rikki cattermole rikki at cattermole.co.nz
Sun Jul 1 14:05:30 UTC 2018


On 02/07/2018 1:53 AM, boolangery wrote:
> Hi,
> 
> I didn't find resources on what are actually supported with D and shared 
> library.
> 
> I need to reduce binary size, so I would like to ship all dependencies 
> as shared
> 
> I read on some forum that shared library is conflicting with garbage 
> collection of the druntime ?
> 
> I absolutely need shared library due to space constraints (and multiple 
> binaries  ),so I need to know if D should be abandoned.
> 
> Thanks

You should abandon D if you require (hard no compromise):

1) Shared libraries (D, not e.g. C)
AND
2) Languages features like classes (and with it type info)
AND
3) Cross platform support (Windows mostly is the problem atm)

Some may say, but it works for me! But it doesn't work for most users. 
It simply hasn't been designed as an experience.


More information about the Digitalmars-d mailing list