Re: Guile fibers return values

2020-01-06 Thread John Cowan
On Mon, Jan 6, 2020 at 5:45 PM Zelphir Kaltstahl wrote: I think that is a typo maybe? The futures guide says: > > "The (ice-9 futures) module provides futures, a construct for fine-grain > parallelism." > I know, and I think that's an error (or rather a confusing point) in the docs. It should s

Re: GNU Guile 2.9.5 Released [beta]

2020-01-06 Thread Chris Vine
On Mon, 06 Jan 2020 21:34:59 +0100 Andy Wingo wrote: > On Mon 06 Jan 2020 00:26, Chris Vine writes: > > I have a 'try' macro which adopts the approach that if an exception > > arises, the macro unwinds from the dynamic environment of the code > > where the exception arose to the dynamic environme

Re: Guile fibers return values

2020-01-06 Thread Zelphir Kaltstahl
Hello John! Thanks for your reply! On 06.01.2020 22:47, John Cowan wrote: > Conceptually, parallelism and concurrency are two different and partly > independent things.  Parallelism refers to physically simultaneous > execution, as when you throw a ball into the air in each hand and > catch it in

Re: Guile fibers return values

2020-01-06 Thread John Cowan
Conceptually, parallelism and concurrency are two different and partly independent things. Parallelism refers to physically simultaneous execution, as when you throw a ball into the air in each hand and catch it in the same hand. Each throw-catch cycle is a parallel process (using "process" in th

Re: Guile fibers return values

2020-01-06 Thread Chris Vine
On Mon, 6 Jan 2020 20:42:17 +0100 Zelphir Kaltstahl wrote: [snip] > In Racket the futures have some limitations, where one needs to use a > different number type to enable them in some cases to run in parallel – > wait, I am looking for the link … here: > https://docs.racket-lang.org/guide/paralle

Re: Guile fibers return values

2020-01-06 Thread Zelphir Kaltstahl
Hey Chris! Thanks for your informative reply! I did not remember, that the parallel forms are already that clever. It might be the case, that I only need to use futures or parallel forms then. I have a question regarding futures though. In Racket the futures have some limitations, where one needs