Compilation strategy

Walter Bright newshound2 at digitalmars.com
Mon Dec 17 01:40:13 PST 2012


On 12/17/2012 12:54 AM, deadalnix wrote:
> More seriously, I understand that in some cases, di are interesting. Mostly if
> you want to provide a closed source library to be used by 3rd party devs.

You're missing another major use - encapsulation and isolation, reducing the 
dependencies between parts of your system.

Do you really want to be recompiling the garbage collector for every module you 
compile? It's not because the gc is closed source that .di files are useful.



More information about the Digitalmars-d mailing list