From: "Marco Maggi" <marco.maggi-ipsu@poste.it>
To: "guile-user" <guile-user@gnu.org>
Subject: [announce] GEE/Streams 0.1
Date: Tue, 4 Dec 2007 20:34:56 +0100 [thread overview]
Message-ID: <JSJIE8$10344B7D1C70DDEFDE925AC5A49DEDA5@poste.it> (raw)
GEE/Streams is a C language library extension for Guile, the
GNU's Ubiquitous Intelligent Language for Extensions. It
implements a replacement for the (ice-9 streams) module
distributed with Guile.
If we are not Scheme newbies and we see a form starting with
(fold ...): we know immediately the structure of its
code. There is a great advantage if we compare this with the
time required to understand the control flow of an
equivalent explicitly coded form.
Streams are an answer to the questions: ``Is it possible to
apply a FOLD like procedure to a non--list sequence of
values? And what about MAP and FOR-EACH?''
Guile already comes with the (ice-9 streams) module, which
allows Scheme level code to iterate over non--list sequences
of values. GEE/Streams is a C language re-implementation of
the same interface that allows both Scheme and C code to
define streams.
The advantages upon the pure Scheme module are:
* speed, especially with long sequences;
* the procedures work with streams, lists and vectors;
* (gee misc streams-1) loads GOOPS: a class is defined and
bound to the <stream> symbol; that way GOOPS generic
functions can dispatch methods for streams (unfortunately
there is no way to select a base <sequence> class);
streams can be implemented with both a Scheme or C producer
function.
<https://gna.org/projects/gee>
<http://download.gna.org/gee/gee-streams/gee-streams-0.1b5-src.tar.bz2>
--
Marco Maggi
"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2007-12-04 19:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 19:34 Marco Maggi [this message]
2007-12-05 23:18 ` [announce] GEE/Streams 0.1 Andy Wingo
-- strict thread matches above, loose matches on Subject: below --
2007-12-07 6:32 Marco Maggi
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='JSJIE8$10344B7D1C70DDEFDE925AC5A49DEDA5@poste.it' \
--to=marco.maggi-ipsu@poste.it \
--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).