unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Back to the future!
@ 2010-12-02 23:55 Ludovic Courtès
  2010-12-03  9:57 ` Andy Wingo
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ludovic Courtès @ 2010-12-02 23:55 UTC (permalink / raw)
  To: guile-devel

Hello!

There’s a brand new (ice-9 futures) module implementing futures:

  http://git.sv.gnu.org/cgit/guile.git/commit/?id=0d4e6ca38f1c51f5f92effc7d97c8b69eb85d071

(There used to be an implementation of futures in libguile, but it was
never included in a release because of various bugs.)

It basically does the job, though there are a couple of minor FIXMEs or
TODOs.

The implementation was inspired by that of libgomp, the GNU OpenMP
run-time support library.  It uses a pool of threads, normally one per
CPU core minus one, and offloads expression evaluation to them.  On a
single-core machine, you get an empty thread pool, meaning that futures
are evaluated sequentially, upon ‘touch’.

Feedback welcome!  :-)

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-16 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02 23:55 Back to the future! Ludovic Courtès
2010-12-03  9:57 ` Andy Wingo
2010-12-05 16:59 ` Neil Jerram
2010-12-07 14:04   ` Ludovic Courtès
2010-12-16 22:56 ` Ludovic Courtès

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).