[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Announcing 8sync: an asynchronous programming language for Guile
From: |
Ludovic Courtès |
Subject: |
Re: Announcing 8sync: an asynchronous programming language for Guile |
Date: |
Sun, 29 Nov 2015 21:59:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Christopher Allan Webber <address@hidden> skribis:
> It makes significant use of delimited continuations. You can do things
> like this:
>
> (define (my-number-talker)
> (format #t
> "Oh boy, looks like we got back ~a!\n"
> (%sync (%run (+ 1 2 3 (complicated-number-code 38))))))
>
> ... and the complicated-number-code will launch asynchronously, but wake
> back up the appropriate function appropriately. You can also set timed
> events, read and write to ports asynchronously, and etc. It has a nice
> non-blocking loop, and personally I've found it to be a delight to use.
This is really cool!
Ludo’.