[dmd-internals] Windows DMD development is now impossible

Jonathan M Davis jmdavisProg at gmx.com
Mon Jun 10 18:37:38 PDT 2013


On Monday, June 10, 2013 21:24:50 Andrei Alexandrescu wrote:
> On 6/10/13 2:29 AM, Don Clugston wrote:
> > It seems hard to believe there would be enough types to instantiate
> > isNarrowString thousands of different times.
> 
> This would be a good starting point in diagnosing the matter. True,
> isRandomString is instantiated with many types because it's part of
> template constraints that ultimately fail. But then, thousands sounds a
> bit much.

Given how many ranges wrap other ranges and how that sort of thing is going to 
show up in template constraints and static ifs all over the place, I'm not 
sure that thousands is all that unlikely when you start unit testing - 
especially when you're trying to test every instantiation path (as we should 
be doing). Hopefully, there's some sort of bug here or something that we can 
optimize, but it wouldn't entirely surprise me if all of those instantiations 
were legit.

- Jonathan M Davis


More information about the dmd-internals mailing list