From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Hartwig Newsgroups: gmane.lisp.guile.bugs Subject: bug#14599: An option to make vector allocation aligned Date: Fri, 14 Jun 2013 09:33:37 +0800 Message-ID: References: <51B87998.9060402@email.de> <87a9mvide2.fsf@gnu.org> <51B8E4B7.9060306@email.de> <874nd2gmsq.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 1371173653 809 80.91.229.3 (14 Jun 2013 01:34:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 01:34:13 +0000 (UTC) Cc: 14599@debbugs.gnu.org, Jan Schukat To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jun 14 03:34:13 2013 Return-path: Envelope-to: guile-bugs@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 1UnIu4-0007Jg-Qw for guile-bugs@m.gmane.org; Fri, 14 Jun 2013 03:34:13 +0200 Original-Received: from localhost ([::1]:34631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnIu1-0000di-TX for guile-bugs@m.gmane.org; Thu, 13 Jun 2013 21:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnItw-0000dM-7p for bug-guile@gnu.org; Thu, 13 Jun 2013 21:34:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnItv-0005cM-A8 for bug-guile@gnu.org; Thu, 13 Jun 2013 21:34:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnItv-0005cG-6L for bug-guile@gnu.org; Thu, 13 Jun 2013 21:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UnItu-0007Oa-Im for bug-guile@gnu.org; Thu, 13 Jun 2013 21:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Hartwig Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 14 Jun 2013 01:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14599 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 14599-submit@debbugs.gnu.org id=B14599.137117362628387 (code B ref 14599); Fri, 14 Jun 2013 01:34:02 +0000 Original-Received: (at 14599) by debbugs.gnu.org; 14 Jun 2013 01:33:46 +0000 Original-Received: from localhost ([127.0.0.1]:42643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnItd-0007Nm-Ke for submit@debbugs.gnu.org; Thu, 13 Jun 2013 21:33:46 -0400 Original-Received: from mail-ie0-f172.google.com ([209.85.223.172]:39042) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnItb-0007NY-4H for 14599@debbugs.gnu.org; Thu, 13 Jun 2013 21:33:43 -0400 Original-Received: by mail-ie0-f172.google.com with SMTP id 16so93872iea.17 for <14599@debbugs.gnu.org>; Thu, 13 Jun 2013 18:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Wf5t7ONr64xlJ4cEbg+Lk5t4SOfGYQ9fYRyhApL38CE=; b=AZCpxocd64sG7U/2iqmuvxxEATDokhp5G0bLmPKmWRjWKCjXURvLp2gwaD2SrRphN/ 7N6KP0RtirjmvJ0QF6fJ7EEYH1hpfiVyfZpR2tu7QALrGhI8/ZWpti70lSSVLr3GA558 T1HwWZLiD6FtsbZdhSPVmo/mVyXsmTfxOMG6q1URHxheWmoFwo0qFKOGhseW/42tSDDT /ewML+y6Ut42GlVdhXWxBOwka2i+An7a7bEhktcXp9H5P/LEK+KdhRAtga98OtTydVj2 nfMvHC7oAjxJERt/E/V1jG+cTNZqKlr0QSQPqwIdo+RGbAy6Z3oGtfWdO+ZkM1YNmqHi 9sYA== X-Received: by 10.50.132.98 with SMTP id ot2mr28173igb.38.1371173617199; Thu, 13 Jun 2013 18:33:37 -0700 (PDT) Original-Received: by 10.64.238.6 with HTTP; Thu, 13 Jun 2013 18:33:37 -0700 (PDT) In-Reply-To: <874nd2gmsq.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7175 Archived-At: On 13 June 2013 21:31, Ludovic Court=C3=A8s wrote: > Jan Schukat skribis: >> The other question is the read syntax (one of the primary reasons I'm >> doing all this). If alignment is something that should be preserved in >> the permanent representation, you also need to store it in the flags, >> since the content pointer can be aligned by coincidence. I haven't >> looked at the compiling of bytevectors yet, to see if alignment can be >> handled easily there. > > I agree that we=E2=80=99d need some sort of annotation to specify the ali= gnment > of literals, but adding read syntax for that scares me somewhat. What > do people think? I agree. The read syntax for vector-ish types in guile is already large enough. If alignment is important then use a procedural constructor and query. Alignment information not need to be printed with the default representation (read syntax), we dont also print the storage address, etc.. Regards