[D-runtime] [dmd-internals] why core/thread.d and core/thread.di in druntime?

Jonathan M Davis jmdavisProg at gmx.com
Wed Jan 9 15:08:46 PST 2013


On Wednesday, January 09, 2013 14:21:40 Walter Bright wrote:
> On 1/9/2013 10:22 AM, Don Clugston wrote:
> > Personally I don't think we should have any .di files in there,
> > whatsoever.
> > They just cause problems, for NO BENEFIT. We don't want have trade secrets
> > we want to hide, and .di files serve no other purpose.
> 
> One example: do we really want to recompile the garbage collector for every
> D program?

But core.rt doesn't end up in the import directory, so that's a non-issue. 
There are no .di files for the GC, and it doesn't get recompiled all the time.
The solution was to simply not provide the files which should be hidden.

- Jonathan M Davis


More information about the D-runtime mailing list