Why are globals set to tls by default? and why is fast code ugly by default?

Guillaume Piolat first.last at spam.org
Mon Mar 27 13:49:08 UTC 2023


On Sunday, 26 March 2023 at 18:07:03 UTC, ryuukk_ wrote:
> Even C does it better: 
> https://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html

Honestly I find TLS-by-default to be a bad idea, it has become a 
trap to be avoided, and TLS does occasionally speed up things but 
it should be opt-in.


More information about the Digitalmars-d-learn mailing list