D 2.066 is out. Enjoy!

Dicebot via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Aug 19 16:42:22 PDT 2014


On Tuesday, 19 August 2014 at 22:27:28 UTC, Andrei Alexandrescu 
wrote:
> On 8/19/14, 3:09 PM, Dicebot wrote:
>> On Tuesday, 19 August 2014 at 21:13:53 UTC, Andrei 
>> Alexandrescu wrote:
>>>> Walter, now that release is out can you please state your 
>>>> opinion about
>>>> https://github.com/D-Programming-Language/dmd/pull/3651 ? It 
>>>> is blocking
>>>> Phobos module split and decoupling.
>>>
>>> LGTM. Any opposition to merging? -- Andrei
>>
>> Walter seems to be the only one :)
>> http://forum.dlang.org/post/lt00a9$2uoe$1@digitalmars.com
>
> I think it would be great to motivate the change properly. -- 
> Andrei

I am not sure what can I add to what have been already said. To 
summarize:

Without this addition package.d is much less useful in practice - 
we can't separate existing modules into smaller packages without 
making almost all symbols public, not if at there is more there 
one level of nested packages in question. Dmitry needs it for 
splitting std.regex, it will be needed for std.meta, existing 
std.internal can actually become controlled by compiler instead 
of being undocumented convention.

And using more deeply nested module hiearchies with smaller 
modules is one of primary means for reducing internal Phobos 
dependencies and improving compile times that are currently 
lacking.

It is also 100% backwards compatible and does not introduce any 
new language concept being much less intrusive change than, for 
example, C++ namespace support recently added.


More information about the Digitalmars-d-announce mailing list