From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: Latest guile 1.9 segfault in GC Date: Wed, 18 Aug 2010 09:16:15 -0700 Message-ID: References: <20100817090911.GA27087@securactive.net> <20100817140858.GA13359@securactive.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282148270 15605 80.91.229.12 (18 Aug 2010 16:17:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Aug 2010 16:17:50 +0000 (UTC) Cc: guile-user@gnu.org To: Cedric Cellier Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Aug 18 18:17:49 2010 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.69) (envelope-from ) id 1OllKm-00082G-Ni for guile-user@m.gmane.org; Wed, 18 Aug 2010 18:17:49 +0200 Original-Received: from localhost ([127.0.0.1]:41543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OllKl-0000J5-Uy for guile-user@m.gmane.org; Wed, 18 Aug 2010 12:17:48 -0400 Original-Received: from [140.186.70.92] (port=41808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OllGP-00068a-1d for guile-user@gnu.org; Wed, 18 Aug 2010 12:13:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OllGJ-0002kv-St for guile-user@gnu.org; Wed, 18 Aug 2010 12:13:16 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:54187 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OllGJ-0002kk-Qs for guile-user@gnu.org; Wed, 18 Aug 2010 12:13:11 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 22F9BCE3D2; Wed, 18 Aug 2010 12:13:11 -0400 (EDT) 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=ESsZHOe8fYEmiFvtgUcM6rPYdqo=; b=pMbkYr yvlrANv/bdNZ4wBcdLaeZsK6monjSJvpHkAD3RHbpEZvsxJ74tWu2FwhtFOVBwvV or/VC8gYUyasxu64K4yeMgBpDOAGq4HhkvS4MPjYzkzKCkXVvh270UgmJZxyEX5n 2+XLTrRzVP3AaMPjbqDLIF5H/isHbnJC0Bt64= 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=xU1xfjLsoZWN0STurOQvSvBL1WOn0Kjx P0uStNyrfm8lNReMJZmrIjK9wnE33a/xuImHg3GXIoHGhJTiaRrIC42nRUusJTM/ Z6TK0m5iZ4bqBLPse7hQcLI0VFu9M3KYra1laWk2zksGR8ZtAZXPoB8ErzNi4bZf 3rQ1CC+BFKY= Original-Received: from a-pb-sasl-quonix. (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id E5E5DCE3D1; Wed, 18 Aug 2010 12:13:09 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [75.16.62.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id D7019CE3CF; Wed, 18 Aug 2010 12:13:06 -0400 (EDT) In-Reply-To: <20100817140858.GA13359@securactive.net> (Cedric Cellier's message of "Tue, 17 Aug 2010 16:08:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 7E62C29C-AAE3-11DF-88F8-9056EE7EF46B-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:8081 Archived-At: Hi Cedric, On Tue 17 Aug 2010 07:08, Cedric Cellier writes: > As a side note, I find libguile 1.9 slower than libguile 1.8.7. > I suppose, being an unstable version, it's compiled by default > with many debug options on. Is there an easy way to configure it > for fast execution, for benchmarking reason ? Guile 1.9's interpreter is slower than 1.8's interpreter, but 1.9 has a compiler, and compiled Scheme runs much faster than 1.8. You're probably not hitting the compiler for some reason. I think that scm_primitive_load doesn't support autocompilation, where it probably should. Is that the function you're using to load your Scheme code? To work around it for now, call `load' from scheme. I know it's ugly but at least you get the speed that way. Use scm_primitive_eval (scm_list_2 (scm_from_locale_string ("load"), path)). Andy -- http://wingolog.org/