unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Marius Vollmer <marius.vollmer@uni-dortmund.de>
Cc: guile-devel@gnu.org
Subject: Re: Shared arrays
Date: Thu, 28 Oct 2004 14:15:43 +0200	[thread overview]
Message-ID: <ljis8vt4wg.fsf@troy.dt.e-technik.uni-dortmund.de> (raw)
In-Reply-To: <xy7d5z33vo9.fsf@nada.kth.se> (Mikael Djurfeldt's message of "Thu, 28 Oct 2004 13:54:14 +0200")

Mikael Djurfeldt <djurfeldt@nada.kth.se> 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


  reply	other threads:[~2004-10-28 12:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28  9:31 Shared arrays Mikael Djurfeldt
2004-10-28 11:48 ` Marius Vollmer
2004-10-28 11:54   ` Mikael Djurfeldt
2004-10-28 12:15     ` Marius Vollmer [this message]
2004-10-30 14:38 ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ljis8vt4wg.fsf@troy.dt.e-technik.uni-dortmund.de \
    --to=marius.vollmer@uni-dortmund.de \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).