From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: proposal: deprecate dynamic states Date: Mon, 10 Mar 2014 14:26:09 +0100 Message-ID: <8738iqmbgu.fsf@gnu.org> References: <87eh2b2s57.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1394458001 3987 80.91.229.3 (10 Mar 2014 13:26:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2014 13:26:41 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Mar 10 14:26:49 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 1WN0EB-0002Xg-JL for guile-devel@m.gmane.org; Mon, 10 Mar 2014 14:26:47 +0100 Original-Received: from localhost ([::1]:48818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN0EA-0005Gi-Uf for guile-devel@m.gmane.org; Mon, 10 Mar 2014 09:26:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN0E0-0005Eu-Jr for guile-devel@gnu.org; Mon, 10 Mar 2014 09:26:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN0Du-0004HO-Ga for guile-devel@gnu.org; Mon, 10 Mar 2014 09:26:36 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN0Du-0004HH-9S for guile-devel@gnu.org; Mon, 10 Mar 2014 09:26:30 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WN0Ds-0002Jx-Qm for guile-devel@gnu.org; Mon, 10 Mar 2014 14:26:28 +0100 Original-Received: from pluto.bordeaux.inria.fr ([193.50.110.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 14:26:28 +0100 Original-Received: from ludo by pluto.bordeaux.inria.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Mar 2014 14:26:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pluto.bordeaux.inria.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Vent=C3=B4se?= an 222 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ec8fjHrP5T9WI8OJjhVyznpmfbI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:16956 Archived-At: Andy Wingo skribis: > 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. Fine with me! Ludo’.