[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proposal: deprecate dynamic states

From: Mark H Weaver
Subject: Re: proposal: deprecate dynamic states
Date: Sun, 09 Mar 2014 17:55:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Hi Andy,

Andy Wingo <address@hidden> writes:

> 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.

I strongly agree with this.

> If no one objects, I'll push something that does this in the next
> couple days.

Sounds good to me!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]