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: bdw-gc includes in libguile.h Date: Fri, 25 Mar 2011 19:44:04 +0100 Message-ID: References: <87hbardqgw.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301078645 8951 80.91.229.12 (25 Mar 2011 18:44:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2011 18:44:05 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Mar 25 19:43:59 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 1Q3BzI-0008KO-9c for guile-devel@m.gmane.org; Fri, 25 Mar 2011 19:43:56 +0100 Original-Received: from localhost ([127.0.0.1]:38804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3BzH-0004lW-TA for guile-devel@m.gmane.org; Fri, 25 Mar 2011 14:43:55 -0400 Original-Received: from [140.186.70.92] (port=51902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q3BzE-0004lO-GZ for guile-devel@gnu.org; Fri, 25 Mar 2011 14:43:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q3BzD-0000GA-7O for guile-devel@gnu.org; Fri, 25 Mar 2011 14:43:52 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:49203 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q3BzD-0000Fx-4W; Fri, 25 Mar 2011 14:43:51 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 3B6354E01; Fri, 25 Mar 2011 14:45:32 -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:content-transfer-encoding; s=sasl; bh=Bymbz3FcoIsf OTae16LLFUihHMo=; b=O239zz3A+dP1ta9zlMHcbGHcuVkAzDRmOGaCdEPcTO30 1IqZsWt2RviOBaFZQDHvwA2NdOjIQMrHj5B51neV5bjsw9oKkLS81skBI7o5l3cd kwSBNYOcNRc9QCLAWRcAMYLq4ycR3YCmhnlhIcGsJmONuwUU0641mxZ0RKfq3kY= 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:content-transfer-encoding; q=dns; s=sasl; b=qZVTUX AXCh457zEhTfbpbaRf4IkNkoGYrKH8YxJw09RfoqMICdxdrXxZ1LJTqikiBNFYQn mm36smcJGedo4+NsbQ0qG9i7xHrmuMvaB+FJbCinHWuTXJsywM1vHSg5HiGjq0mc UPX3Rxd5ziu2AKYP0q8N33KoDh4zb6fARmfvA= 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 27F424E00; Fri, 25 Mar 2011 14:45:30 -0400 (EDT) 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 3810A4DFE; Fri, 25 Mar 2011 14:45:26 -0400 (EDT) In-Reply-To: <87hbardqgw.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 25 Mar 2011 19:06:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 0ED1AEF0-5710-11E0-BB71-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:11989 Archived-At: Hi, On Fri 25 Mar 2011 19:06, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Andy Wingo writes: > >> I think we made a mistake in exposing bdw-gc.h to libguile.h users. >> gc.h is quite scrupulous to not include it, but smob.h, inline.h >> (sometimes), and pthread-threads.h pull it in. > > is intentionally pulled because our public headers > use macros and inlines from . Right; I think this is a mistake, because it couples our external interface too tightly to libgc's interface. >> I think that in 2.2 we should not expose libgc interfaces in libguile, > > That would be great, but then =E2=80=98scm_cell=E2=80=99, =E2=80=98SCM_NE= WSMOB=E2=80=99, etc. would > need to do a function call, which we don=E2=80=99t want. Even if we did = want > it, the change would break the ABI. I realize this :) That's why I am proposing it for 2.2, which will (presumably) be ABI-incompatible. I don't think inlining NEWSMOB et al actually buys us anything worth buying, so to speak. >> and that in 2.0 we should disable pthread redirects. > > Why? I think I addressed this in my other mail; perhaps we can continue the discussion there. > A meta-comment: can we agree to take more time to discuss this sort of > things? I=E2=80=99ll try to be responsive, and the earth won=E2=80=99t s= top spinning if > the fix waits a couple of days. ;-) Sure. Sorry for the precipitous action. That said, this bug has been open since September: https://savannah.gnu.org/bugs/?32436 Regards, Andy --=20 http://wingolog.org/