www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: D hates to be dynamic linked

reply Bane <branimir.milosavljevic gmail.com> writes:
A nasty typo, should be "...GC will be in dll too so people..."

 Just to get it righ: this means GC will be in dl tool so people that complain
about exe size and gc bloat will be happy about it?

Feb 23 2010
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
Yes, GC is the main issue, as you want to pass gc-collected objects 
across dll boundaries. I'd say the size of the executables is just a 
secondary issue, though it would also benefit.

Bane wrote:
 A nasty typo, should be "...GC will be in dll too so people..."
 
 Just to get it righ: this means GC will be in dl tool so people that complain
about exe size and gc bloat will be happy about it?


Feb 23 2010
parent Walter Bright <newshound1 digitalmars.com> writes:
Rainer Schuetze wrote:
 Yes, GC is the main issue, as you want to pass gc-collected objects 
 across dll boundaries. I'd say the size of the executables is just a 
 secondary issue, though it would also benefit.

The GC itself doesn't have to be in a dll for this to work. The library is already set up to hand off the GC. What it doesn't do at the moment is hand off the thread management.
Feb 24 2010