What's the current state of the art for module compilation?

monkyyy crazymonkyyy at gmail.com
Sun Nov 29 00:22:40 UTC 2026


On Saturday, 28 November 2026 at 23:44:37 UTC, Walter Bright 
wrote:
> The problems with this have been greatly reduced over time.

I believe there were some run of template optimizations that 
increased purely bad bugs(while I will defend totality over 
correctness where an "invalid" statement does something, crashes 
dont, if an optmization deletes a symbol unpredictably its hard 
to use it in anyway), i know I found one that opend reverted but 
I think rikki thought his patch was fine and thought I didnt have 
a "real usecase" and a over eager deletion of symbols was left in.

When ever I check, the core engine of templates has been 
effectively unchanged for 15 years. My favorite bugs work on the 
oldest compilers versions Ive tested; while citing the spec 
doesn't necessarily revert breakages; what is actually stable is 
more complex then the usual talking points of pointing at the 
spec or airplane surgery.

> I didn't eliminate the feature, though, because its value 
> exceeded the cost.

I dont think you hold that opinion in the slightest about the 
best ct mutability bugs and I believe despite these features 
being so easy that you implemented them by accident(the best of 
features), any formalization dips with better syntax have near 
zero enthusiasm from all of yall.

For all I know you may add such bugs to a todo list, simply break 
it, and maybe push some of my ct-mutability abstractions into 
worse big O.


More information about the Digitalmars-d mailing list