[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposal: deprecate dynamic states
From: |
Andy Wingo |
Subject: |
Re: proposal: deprecate dynamic states |
Date: |
Sun, 19 Jun 2016 17:36:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hi :)
It took more than a couple days, ahem, but let's do this. Just a
heads-up.
Andy
On Sun 09 Mar 2014 18:33, Andy Wingo <address@hidden> writes:
> Hi,
>
> The manual claims that you can use fluids as thread-local variables, but
> that's not really true -- we expose this strange "dynamic state"
> interface that lets you have one dynamic state used by multiple
> threads. Pretty strange stuff.
>
> Normally I wouldn't be against "extra functionality" but this one makes
> no sense. We need something that is "thread-local state" and
> fluids/parameters should be that thing -- and yet, we are prevented from
> doing by the dynamic state interface. (Of course, that doesn't stop us
> from using fluids in this way; I'm sure there are many bugs out there.)
>
> So my proposal is to deprecate the dynamic state interface. It's
> nonstandard, I've never heard of anyone using it, and it's actively
> harmful. If no one objects, I'll push something that does this in the
> next couple days.
>
> Andy
- Re: proposal: deprecate dynamic states,
Andy Wingo <=