unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-user@gnu.org
Subject: Re: Uniform vectors, user survey
Date: Sat, 23 Oct 2004 15:02:20 +0100	[thread overview]
Message-ID: <417A646C.4050505@ossau.uklinux.net> (raw)
In-Reply-To: <ljfz46vnrb.fsf@troy.dt.e-technik.uni-dortmund.de>

Marius Vollmer wrote:

>Hi,
>  
>
Hi Marius

>I want to unify our two implementations of uniform vectors, and make
>them more useful.
>  
>
Sounds like a good objective.

>I have close to zero experience with using uniform vectors myself, so
>I appreciate your input.  Do you use uniform vectors?  What for?  Did
>you try but couldn't make them work for you?  What do you wish would
>be different about them?  Etc.
>  
>
I use uniform byte vectors in my Guile extension to an application whose 
interfaces are all expressed in terms of C structs, so that I can build 
the struct (represented as a uniform byte vector) in Scheme and then 
call a C function that does the generic "dispatch this struct" operation.

I could now rewrite this using a SMOB instead (and arguably should, as 
that would give me better control over how the struct memory is shared 
between C and Scheme), but that would have slowed down my prototyping, 
and at the time it was very nice to get something up and running quickly.

Hope this is useful.

Regards,
Neil




_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user


  reply	other threads:[~2004-10-23 14:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 14:19 Uniform vectors, user survey Marius Vollmer
2004-10-23 14:02 ` Neil Jerram [this message]
2004-10-24 16:04 ` Mikael Djurfeldt
2004-10-25 18:08 ` Stephen Compall
2004-10-25 18:34   ` Peter Christopher
2004-10-25 19:51     ` Ludovic Courtès
2004-10-25 22:00 ` Mike Gran
2004-10-26  2:50 ` Steve Tell
2004-11-04 17:48 ` Marius Vollmer
2004-11-05 17:01   ` Marius Vollmer
  -- strict thread matches above, loose matches on Subject: below --
2004-10-26  3:03 Roland Orre

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=417A646C.4050505@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-user@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).