[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: on coding a portable R6RS package supporting Guile and its FFI
From: |
Ludovic Courtès |
Subject: |
Re: on coding a portable R6RS package supporting Guile and its FFI |
Date: |
Fri, 08 Feb 2013 16:52:32 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Andy Wingo <address@hidden> skribis:
> On Fri 08 Feb 2013 15:10, address@hidden (Ludovic Courtès) writes:
>
>>> GC_malloc still returns eight-byte aligned memory hunks on 64-bit, no?
>>
>> Oh right:
>
> Does it? I couldn't tell from your test. I'm not a native unfolder :)
Yes, it’s always eight-byte aligned (even on 32-bit IIRC), and often
16-byte aligned.
>> And with 16 cases, we could even put single-precision floats in a word,
>> chars, and who knows what!
>
> Chars are already immediate :)
Right, well, strings then! ;-)
Ludo’.