Purity, memoization and parallelization of dmd

Stefan Koch uplink.coder at googlemail.com
Mon Jul 20 11:01:47 UTC 2020


On Monday, 20 July 2020 at 10:39:08 UTC, Atila Neves wrote:
> On Thursday, 16 July 2020 at 18:21:11 UTC, Per Nordlöw wrote:
>> What's the status/progress on making dmd (completely) pure?
>>
>> Is this task on somebody's agenda? If so, are there any big 
>> obstacles that currently has no clear solution or is just a 
>> very large pile of small ones?
>>
>> And, in the long run, will a pure compiler (finally) enable 
>> caching/memoization of, for instance, template 
>> instantiations/ctfe-evaluations and, perhaps further into 
>> future, parallelization of the compiler?
>
> I don't think making the compiler parallel is particularly 
> important since that should be handled at the build-system 
> level (and if you use reggae, already is).

When using mata-programming it is possible to build huge 
monolithic
chains of dependencies which can't be broken up.

In that case using reggae doesn't help.


More information about the Digitalmars-d mailing list