[Chicken-users] Continuations, control flow, and F-operator

2015-12-13 Thread Josh Barrett
... So, how does F-operator even exist? It's an egg that implements
delimited continuations, that much I know, but HOW?
IIRC, it's only possible to implement delimited continuations in pure
scheme if all control flow is implemented in continuations. So is that what
chicken does?
I mean, I know call/cc is fast in chicken, but is it that fast, or is
F-operator using some chicken specific implementation that I don't know
about?
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Continuations, control flow, and F-operator

2015-12-13 Thread John Cowan
Josh Barrett scripsit:

> I mean, I know call/cc is fast in chicken, but is it that fast, or is
> F-operator using some chicken specific implementation that I don't know
> about?

No, it isn't.  Calling an escape procedure from call/cc is as fast in
Chicken as calling a "normal" procedure (which is to say somewhat slower
than in comparable Schemes like Gambit), so Oleg Kiselyov's portable
implementation works well.  There are only a few Chicken-specific touches,
as you can see by loading the code with "chicken-install -r F-operator".

-- 
John Cowan  http://www.ccil.org/~cowanco...@ccil.org
By Elbereth and Luthien the Fair, you shall have neither the Ring nor me!
--Frodo

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users