From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tail-call elimination Date: Tue, 11 Dec 2012 10:13:09 -0500 Message-ID: References: <50C6CF11.2000706@dancol.org> <85ehiwzm7e.fsf@iznogoud.viz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355238803 7450 80.91.229.3 (11 Dec 2012 15:13:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 15:13:23 +0000 (UTC) Cc: Troels Nielsen , Chris Gray , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 11 16:13:35 2012 Return-path: Envelope-to: ged-emacs-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 1TiRWZ-0000xu-HK for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 16:13:35 +0100 Original-Received: from localhost ([::1]:58443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRWM-0004bG-R1 for ged-emacs-devel@m.gmane.org; Tue, 11 Dec 2012 10:13:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRWG-0004X3-Pm for emacs-devel@gnu.org; Tue, 11 Dec 2012 10:13:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiRWB-00050W-0F for emacs-devel@gnu.org; Tue, 11 Dec 2012 10:13:16 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:12693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiRWA-00050Q-SJ for emacs-devel@gnu.org; Tue, 11 Dec 2012 10:13:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09soXOY/2dsb2JhbABEtBGBCIIWAQVWIxALDiYSFBgNJIghC7l+kEQDiEKNaI0JgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="209597795" Original-Received: from 108-161-115-152.dsl.teksavvy.com (HELO pastel.home) ([108.161.115.152]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Dec 2012 10:13:09 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 2882E58C73; Tue, 11 Dec 2012 10:13:09 -0500 (EST) In-Reply-To: <85ehiwzm7e.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Tue, 11 Dec 2012 15:30:23 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155470 Archived-At: >>>> I have attached a patch that implements tail-call elimination for >>>> a subset of emacs lisp. This will be helpful in allowing coding >>>> styles which emphasize tail recursion, such as is usual in languages >>>> like Scheme. >> If it speeds up execution, I think it can be worth the trouble. > What about Troels Nielsen's implementation of the same feature? > http://permalink.gmane.org/gmane.emacs.devel/153399 Very nice attempt as well, indeed. Not sure why he hasn't followed up on this. Stefan