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.