Disallow thread local concepts to allow fibers move between threads @notl
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Jun 15 13:12:12 UTC 2024
On 16/06/2024 1:07 AM, Sebastiaan Koppe wrote:
> In your opening post you say fibers lost, which I agree with, but then
> proceed to propose 3 new attributes for a fiber library feature which
> is essentially mimicking globals. Why would we want to make it easier
> to do the wrong thing?
1. Migration to better event loops without forcing everyone to rewrite
the world and in turn lowering the cost of adoption.
2. It'll map into stackless, we'll need a solution there to prevent
escaping for things like locks between states. So it isn't a waste of
effort.
More information about the dip.ideas
mailing list