Gambit does not use Cheney on the MTA, mainly because it interferes with the implementation of unrestricted calls from Scheme to C and from C to Scheme. Gambit's implementation of continuations is done with a lazy copy of the captured continuation. The performance is quite good... on the two call/cc intensive Gambit benchmarks (ctak and fibc) Gambit outperforms Chicken. Note also that Gambit's thread system is based on continuations, so it is important for continuation operations to be efficient.
Marc
On 24-Sep-08, at 11:14 AM, Per Eckerdal wrote:
Chicken. Cheney on the MTA gives you call/cc essentially for free - it's just as fast as any other function call.
I was under the impression that Gambit also did this.. Am I wrong?
/Per _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list