From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: compiler dep on r6rs Date: Thu, 27 Jan 2011 11:55:36 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296130106 27088 80.91.229.12 (27 Jan 2011 12:08:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Jan 2011 12:08:26 +0000 (UTC) Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Jan 27 13:08:22 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiQeE-0005cp-2N for guile-devel@m.gmane.org; Thu, 27 Jan 2011 13:08:22 +0100 Original-Received: from localhost ([127.0.0.1]:56045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiQeD-0002k2-9U for guile-devel@m.gmane.org; Thu, 27 Jan 2011 07:08:21 -0500 Original-Received: from [140.186.70.92] (port=39152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PiQdc-0002Gw-Be for guile-devel@gnu.org; Thu, 27 Jan 2011 07:07:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PiQdb-0002ag-GP for guile-devel@gnu.org; Thu, 27 Jan 2011 07:07:44 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:55841 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PiQdb-0002aU-ER; Thu, 27 Jan 2011 07:07:43 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 690383FDF; Thu, 27 Jan 2011 07:08:32 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Y762kAmmeNLF3we9dpZmHds8RNo=; b=B7kZZU jJULWcHyi/Lyle+OfH0KFsYthby65cHexWXUzCpNg1n3IOVkt39Xg5/12aNmux0G Ltu7G+NvqVw1snb19OKDHHJsqVWIeyh5ftfxMWeSibsfNhbxqNsOw20iS9VmpvbT XI3n5leDkaLcbtKA3C2dcrZQaSHYEc+gLICgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=JpedgjO0hLPvmcGBrLBc5pnp6/4gw/N5 +ryzZZ9PkLlZzinocbDTVRWSl6fBvTmfkCcwIgPEoszUjhYDerfFNWDSBMTyG1fu 6ReFWfAKCWYXE3lIGq3JsoBwwB+A1dPqe/S3Zjmw7TTWzcIyRWM2wHz6SyAmRw4w f+ckAz6wXlQ= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 315CE3FDE; Thu, 27 Jan 2011 07:08:31 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 9427B3FDD; Thu, 27 Jan 2011 07:08:29 -0500 (EST) In-Reply-To: (Andy Wingo's message of "Tue, 07 Dec 2010 11:33:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 28175CF4-2A0E-11E0-8AB7-BC4EF3E828EC-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11356 Archived-At: On Tue 07 Dec 2010 11:33, Andy Wingo writes: > The new R6RS support is great. However we are currently pulling in (rnrs > base) into the set of modules needed by the compiler, because (language > assembly compile-bytecode) uses open-bytevector-output-port, and the > ports impl gained a dep on base. > > Is there any way that we can remove this dependency? It will speed up > bootstrap and the pause as the first expression at the REPL is > compiled. How about we move most of the procedures that are defined in C via scm_init_r6rs_ports to (ice-9 binary-ports). Then (rnrs io ports) can still be a r6rs module, and low-level code can avoid pulling in r6rs. I plan to do this soonish if there are no objections. Andy -- http://wingolog.org/