Reimplementing the bulk of std.meta iteratively

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Sep 29 13:18:57 UTC 2020


On Tuesday, 29 September 2020 at 13:07:35 UTC, claptrap wrote:
> its a great quote and you can see the wisdom in it but there's 
> a lot lurking under the surface of the words "essential" and 
> "necessary"

Indeed. If you only have goto and if, would programmers then 
write code where common patterns occur or would the compiler 
writer just optimize for structures that have the properties of 
noise as programmers might end up writing very different code 
structures?

I strongly suspect that one advantage of having a standard 
library and high level features is that programmers then tend to 
write code in similar patterns that compiler writers can take 
advantage of those patterns.





More information about the Digitalmars-d mailing list