[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rtl metadata musings
From: |
Andy Wingo |
Subject: |
Re: rtl metadata musings |
Date: |
Mon, 20 May 2013 16:23:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Hi,
On Sun 19 May 2013 23:52, address@hidden (Ludovic Courtès) writes:
> I guess literal strings would go out as per ‘SCM_IMMUTABLE_STRING’
> (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
--
http://wingolog.org/
- rtl metadata musings, Andy Wingo, 2013/05/10
- Re: rtl metadata musings, Mark H Weaver, 2013/05/11
- Re: rtl metadata musings, Andy Wingo, 2013/05/16
- Re: rtl metadata musings, Ludovic Courtès, 2013/05/19
- Re: rtl metadata musings,
Andy Wingo <=
- Re: rtl metadata musings, Ludovic Courtès, 2013/05/20
- Re: rtl metadata musings, Mike Gran, 2013/05/20
- Re: rtl metadata musings, Andy Wingo, 2013/05/20
- Re: rtl metadata musings, Ludovic Courtès, 2013/05/20
- Re: rtl metadata musings, Andy Wingo, 2013/05/20