DIP1000 observation

Adam Wilson flyboynw at gmail.com
Sat Aug 31 20:45:24 UTC 2024


On Wednesday, 28 August 2024 at 15:28:47 UTC, Nick Treleaven 
wrote:
> On Tuesday, 27 August 2024 at 18:35:06 UTC, H. S. Teoh wrote:
>> This analysis could have been done in compiler, transparently 
>> to the user.
>
> No - it would slow down the compiler if inference was done 
> everywhere. It could also cause link errors because attributes 
> are part of the mangled symbol name.

Even though I know it's going to cause Atila to have a seizure, 
I'm going to say it anyways. We need to stop caring about 
compiler speed so much. If adding an entire second to the compile 
time can save a company from a multi-billion dollar lawsuit, the 
company is going to to tell you to shut-up and eat the extra 
second.

Compile time is a feature, but it is not, and cannot be, the most 
important feature.

Sorry Atila, but it had to be said. :)



More information about the Digitalmars-d mailing list