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.
  • Re: D 2.066 is out. Enjoy! Walter Bright via Digitalmars-d-announce
    • Re: D 2.066 is out. En... Dicebot via Digitalmars-d-announce
      • Re: D 2.066 is out... Andrei Alexandrescu via Digitalmars-d-announce
        • Re: D 2.066 is... Dicebot via Digitalmars-d-announce
          • Re: D 2.06... Andrei Alexandrescu via Digitalmars-d-announce
            • Re: D... ketmar via Digitalmars-d-announce
            • Re: D... Dicebot via Digitalmars-d-announce
            • Re: D... disapointed user via Digitalmars-d-announce
              • R... ketmar via Digitalmars-d-announce
              • R... disapointed user via Digitalmars-d-announce
              • R... Kagamin via Digitalmars-d-announce
              • R... Brad Anderson via Digitalmars-d-announce
              • R... Jacob Carlborg via Digitalmars-d-announce
              • R... Daniel Murphy via Digitalmars-d-announce
              • R... Jacob Carlborg via Digitalmars-d-announce
              • R... Daniel Murphy via Digitalmars-d-announce
              • R... Jonathan M Davis via Digitalmars-d-announce

Reply via email to