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: rtl metadata musings Date: Mon, 20 May 2013 16:23:25 +0200 Message-ID: <877gitd92a.fsf@pobox.com> References: <871u9fqv70.fsf@pobox.com> <87bo86y6vx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1369059827 30495 80.91.229.3 (20 May 2013 14:23:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 May 2013 14:23:47 +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 Mon May 20 16:23:48 2013 Return-path: Envelope-to: guile-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 1UeR07-0005JK-8F for guile-devel@m.gmane.org; Mon, 20 May 2013 16:23:47 +0200 Original-Received: from localhost ([::1]:42458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeR06-0008A5-Py for guile-devel@m.gmane.org; Mon, 20 May 2013 10:23:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeQzz-00089t-UO for guile-devel@gnu.org; Mon, 20 May 2013 10:23:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeQzr-0001c5-R6 for guile-devel@gnu.org; Mon, 20 May 2013 10:23:39 -0400 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:45803 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeQzr-0001af-Le; Mon, 20 May 2013 10:23:31 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id D6986BCB2; Mon, 20 May 2013 10:23:28 -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=GNna4CKWW1Wm JpNgpYpNUtXu+T8=; b=G9JRWshWnbe2+ZVyifiRqHjzGmIFQ4xFUdA8TXSIb1Ai /FqboHXfQy84s1zFTy/7YzsCF4bTbcxY3LIt+n0LWKSL6cXD1PM9PwnUvvZSdH/2 CYQEWBe8lgEfXYI0UetPJ0WrfczeMsApUVi3wpwRUovNcw5Fw0h6soucWO5Pi6A= 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=nkKKO1 m+CJ8/e/MxWNxYsEd50h/jm73H/8r+msxVLYZcFtLy3tSDq8+5GlFXWm3D8kC5p7 QTbrzV/teKMNwSPiM/qD/W6a5QJGtHB9cB288G0sE+hXII03VSJUGUsrwyKtf6i0 LuXQEvy6rG35nvCN2idcxKaa4CBRxfviHBTow= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id CFA91BCB1; Mon, 20 May 2013 10:23:28 -0400 (EDT) Original-Received: from badger (unknown [88.160.190.192]) (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 531B2BCB0; Mon, 20 May 2013 10:23:28 -0400 (EDT) In-Reply-To: <87bo86y6vx.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 19 May 2013 23:52:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: D71A6ED8-C158-11E2-9515-9F710E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:16385 Archived-At: Hi, On Sun 19 May 2013 23:52, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > I guess literal strings would go out as per =E2=80=98SCM_IMMUTABLE_STRING= =E2=80=99 > (which needs relocation), right? Yep. Right now the stringbuf goes into read-only memory, but the string itself goes in writable memory as it needs its link to the stringbuf fixed up (relocated) at runtime. > Perhaps the .guile.docstr section could eventually be used to contain > stexi, but that seems to already fit into the plan anyway. That can happen already, but I think if we do texinfo we should serialize the string as texinfo -- that way no relocs are needed if docstrings aren't used, because if we use the .docstr string table, it's just an offset into the image of a NUL-terminated UTF-8 byte sequence. (I suppose we should be careful about embedded NUL characters; perhaps we should use some other format for the string tables.) Andy --=20 http://wingolog.org/