From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: proposal: deprecate dynamic states Date: Sun, 09 Mar 2014 17:55:02 -0400 Message-ID: <87txb7hwax.fsf@yeeloong.lan> References: <87eh2b2s57.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1394402125 19915 80.91.229.3 (9 Mar 2014 21:55:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2014 21:55:25 +0000 (UTC) Cc: guile-devel To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Mar 09 22:55:33 2014 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WMlgy-0001GZ-M5 for guile-devel@m.gmane.org; Sun, 09 Mar 2014 22:55:32 +0100 Original-Received: from localhost ([::1]:45649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMlgx-0002rv-U8 for guile-devel@m.gmane.org; Sun, 09 Mar 2014 17:55:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMlgp-0002cp-2F for guile-devel@gnu.org; Sun, 09 Mar 2014 17:55:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMlgj-0000Lh-2w for guile-devel@gnu.org; Sun, 09 Mar 2014 17:55:22 -0400 Original-Received: from world.peace.net ([96.39.62.75]:42166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMlgi-0000LT-VH for guile-devel@gnu.org; Sun, 09 Mar 2014 17:55:17 -0400 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong.lan) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WMlgb-0001hf-BV; Sun, 09 Mar 2014 17:55:09 -0400 In-Reply-To: <87eh2b2s57.fsf@pobox.com> (Andy Wingo's message of "Sun, 09 Mar 2014 18:33:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16954 Archived-At: Hi Andy, Andy Wingo 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! Mark