On Friday, 29 September 2023 at 15:30:30 UTC, Guillaume Piolat
wrote:
On Friday, 29 September 2023 at 15:00:33 UTC, Imperatorn wrote:
[...]
Only if proven on DUB.
[...]
Think of it like envvars for threads. When you launch a
process, the launcher knows to copy the environment variables.
With scattered TLS variables, no new thread can get a copy of
all the "context" it may have. But with a centralized place for
context, you will be able to do that (not implemented yet),
which kinda improves encapsulation.
[...]
Sounds a bit like dependency injection but for state