From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: Shared arrays Date: Thu, 28 Oct 2004 14:15:43 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098965794 15401 80.91.229.6 (28 Oct 2004 12:16:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2004 12:16:34 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Oct 28 14:16:16 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CN9CR-0001Fe-00 for ; Thu, 28 Oct 2004 14:16:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN9KE-0003Gf-M1 for guile-devel@m.gmane.org; Thu, 28 Oct 2004 08:24:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CN9Jy-0003GF-4t for guile-devel@gnu.org; Thu, 28 Oct 2004 08:24:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CN9Jx-0003G3-Aj for guile-devel@gnu.org; Thu, 28 Oct 2004 08:24:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN9Jx-0003G0-2v for guile-devel@gnu.org; Thu, 28 Oct 2004 08:24:01 -0400 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CN9Bw-00077M-K1 for guile-devel@gnu.org; Thu, 28 Oct 2004 08:15:44 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id F271039BFE; Thu, 28 Oct 2004 14:15:43 +0200 (CEST) Original-Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00532-05; Thu, 28 Oct 2004 14:15:43 +0200 (CEST) Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id D34103B18; Thu, 28 Oct 2004 14:15:43 +0200 (CEST) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id 8C5A4B99C; Thu, 28 Oct 2004 14:15:43 +0200 (CEST) Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Thu, 28 Oct 2004 13:54:14 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-Virus-Scanned: by amavisd-new at dt.e-technik.uni-dortmund.de X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 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 Xref: main.gmane.org gmane.lisp.guile.devel:4305 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4305 Mikael Djurfeldt writes: > Or, perhaps even simpler, represent uniform vectors as 1D arrays. Yes, we could do that. The downside to this is that the interface for accessing these vectors from C becomes much more complicated since the elements of the vector are not necessarily contiguous in memory. Right now, I would be happy with just stating clearly that 1-d shared arrays are not vectors, full stop. (Of course, 1-d _non_-shared arrays _are_ vectors.) But now might be the right time to go for the clean solution, now that the new interface is being defined... hmm. I will first clean up the functionality that we have now, and then worry about new functionality. Related to this: should vector-set! etc work with uniform vectors? With strings? _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel