core.compiler versus std.compiler

Jonathan M Davis jmdavisProg at gmx.com
Sun Jul 31 12:32:13 PDT 2011


On Sunday 31 July 2011 19:24:33 Alex Rønne Petersen wrote:
> Hi,
> 
> I noticed that druntime has a core.compiler module as well. Recently,
> I've been submitting patches to std.compiler. Should core.compiler be
> removed, or perhaps std.compiler be moved there and marked as deprecated
> in Phobos?
> 
> On a related note: https://github.com/D-Programming-Language/phobos/pull/163

If it's in both, then I believe that the general rule is that it should be in 
druntime instead, since a number of modules were originall in Phobos but were 
moved to druntime - mostly C bindings and the like. But I don't know about 
this particular case. I'd be inclined to say that we should just go with the 
core one, since it's there, but Sean might have different ideas on that. I 
don't know. But it certainly does look like unnecessary duplication at the 
moment.

- Jonathan M Davis


More information about the Digitalmars-d mailing list