[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Continuations in C
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Continuations in C |
Date: |
Fri, 9 Sep 2005 07:29:47 +0200 |
On 9/9/05, Daniel B. Faken <address@hidden> wrote:
> Hi,
>
> I just ran across this and thought it might be useful/interesting for
> Chicken:
> From http://luajit.luaforge.net/coco.html:
> "Coco is a small extension to get True C Coroutine semantics for Lua 5.1.
>
Yes this is clever. I thought about using makecontext/setcontext
(patching setjmp
isn't that nice, really) myself a while ago. Another nice property of this
would be that C frames have dynamic extent (they could be garbage
collected).
Perhaps I find some time to dig deeper into this...
cheers,
felix