From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.user Subject: Re: Me no understand scoping Date: Wed, 30 Jul 2008 15:03:27 -0400 Message-ID: <87wsj3b3eo.fsf@unknownlamer.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1217444704 24687 80.91.229.12 (30 Jul 2008 19:05:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 19:05:04 +0000 (UTC) Cc: guile-user@gnu.org To: "Kjetil S. Matheussen" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jul 30 21:05:50 2008 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KOGyW-0005rl-5T for guile-user@m.gmane.org; Wed, 30 Jul 2008 21:04:40 +0200 Original-Received: from localhost ([127.0.0.1]:56338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOGxb-00046J-Rz for guile-user@m.gmane.org; Wed, 30 Jul 2008 15:03:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KOGxW-00042H-Mx for guile-user@gnu.org; Wed, 30 Jul 2008 15:03:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KOGxU-0003zy-V5 for guile-user@gnu.org; Wed, 30 Jul 2008 15:03:38 -0400 Original-Received: from [199.232.76.173] (port=47383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KOGxU-0003zl-PU for guile-user@gnu.org; Wed, 30 Jul 2008 15:03:36 -0400 Original-Received: from deleuze.hcoop.net ([69.90.123.67]:38943) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KOGxU-000413-4N for guile-user@gnu.org; Wed, 30 Jul 2008 15:03:36 -0400 Original-Received: from cpe-071-065-238-103.nc.res.rr.com ([71.65.238.103] helo=localhost.localdomain) by deleuze.hcoop.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KOGxR-0003zY-SA; Wed, 30 Jul 2008 15:03:33 -0400 In-Reply-To: (Kjetil S. Matheussen's message of "Wed\, 30 Jul 2008 18\:18\:50 +0200 \(CEST\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6706 Archived-At: "Kjetil S. Matheussen" writes: > Clinton Ebadi: >> >> As a matter of style, you probably want to avoid local-eval as it will >> have to be removed whenever Guile ends up with a faster compiler (one > > I've never heard this before, and I think you are way wrong. > first-class environments etc. is what makes Guile special > and it would be insane to remove it since there are xx other very > good scheme implementations. No more first-class environments, > no more Guile for me. Well, I guess someone would fork Guile > very quick in case it happened though. Mutable first class environments available at runtime prevent a number of useful optimizations. Immutable environments at runtime ought to be fine (with nothing more than some space overhead). Mutable environments provided at compile time for macros should be fine however. I think most everything you'd want to do with an environment at runtime could be done at compile time instead, and there is not much convenience lost as you could always recompile a block to effect a change to its lexical environment. -- And did those feet in ancient times Walk bare upon these lonely streets like mine? Does God watch us from that penthouse high above His children down below who live on air and love?