dmd 2.068, 2.069, 2.0xx Evil Plan going forward

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 19 21:45:08 PDT 2015


On 20/07/2015 4:02 p.m., Walter Bright wrote:
> 2.068 - resolve remaining regressions and release
>
> 2.069 - translate to D. No new features, no refactoring. Only regression
> fixes and what's already in HEAD. This should give us a solid baseline.
> It also means that open PRs that address other issues will not be pulled
> for 2.069.
>
> Perhaps we should name this 2.100, to signify such a milestone.

Or instead, move to SEMVER? Same effect.
Although, now might be a good time to think about D3. After all, we are 
having a massive change in the ecosystem. It wouldn't be that strange to 
think of it as more of a push for polishing.

> 2.101+ -
> 1. Take advantage of D features to improve quality.

As a library perhaps?

> 2. Go to full lazy semantic analysis of imports, rather than the current
> "analyze them all"

Ooo

> 3. Rethink what "speculative instantiation" of templates means so we can
> have a coherent process of compiling them.

Can the plan include stripping out unneeded ones? And even inlining some?

> 4. Redo CTFE interpreter so it only rarely needs to allocate memory.
> This was already done for constant folding, but now it's time for the
> rest of the interpreter.

Less memory = win! E.g. can we compile + run phobos test suite in < 1gb 
memory?
Because it's a real pain finding single board computers that support 
more then 1gb.

> 5. Get rid of reliance on the global error count. This has been mostly
> done, it just hast to be finished.
> 6. Convert the back end to D as well.

Ooo, yes please.
Perhaps even as a library?

I would love to see dmd literally along with it's backends as dub 
packages. That would be *high pitched* awesome.


More information about the Digitalmars-d mailing list