From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: on coding a portable R6RS package supporting Guile and its FFI Date: Fri, 08 Feb 2013 16:52:32 +0100 Message-ID: <87pq0aola7.fsf@gnu.org> References: <87y5fsw05u.fsf@rapitore.luna> <87sj5afyos.fsf@pobox.com> <87d2wee6kf.fsf@gnu.org> <87k3qlemkr.fsf@pobox.com> <874nhmq4kv.fsf@gnu.org> <87liayzxb5.fsf@pobox.com> 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 1360338760 29311 80.91.229.3 (8 Feb 2013 15:52:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Feb 2013 15:52:40 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Feb 08 16:53:01 2013 Return-path: Envelope-to: guile-user@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 1U3qG4-0000wy-Ao for guile-user@m.gmane.org; Fri, 08 Feb 2013 16:53:00 +0100 Original-Received: from localhost ([::1]:37967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qFl-0003HE-DN for guile-user@m.gmane.org; Fri, 08 Feb 2013 10:52:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qFf-0003Ep-4F for guile-user@gnu.org; Fri, 08 Feb 2013 10:52:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U3qFd-0001dr-PT for guile-user@gnu.org; Fri, 08 Feb 2013 10:52:35 -0500 Original-Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:27009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U3qFd-0001dh-J1 for guile-user@gnu.org; Fri, 08 Feb 2013 10:52:33 -0500 X-IronPort-AV: E=Sophos;i="4.84,630,1355094000"; d="scan'208";a="1570909" Original-Received: from unknown (HELO pluto) ([193.50.110.135]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 08 Feb 2013 16:44:47 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87liayzxb5.fsf@pobox.com> (Andy Wingo's message of "Fri, 08 Feb 2013 15:37:18 +0100") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.104 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10050 Archived-At: Andy Wingo skribis: > On Fri 08 Feb 2013 15:10, ludo@gnu.org (Ludovic Court=C3=A8s) 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=E2=80=99s 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=E2=80=99.