[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CPS in C (was: Plea for a new old language / Trampolines)




	It looks very fast.  Potential drawbacks are 1) your GC alg choices are somewhat constrained and 2) the "alloca hack" for resetting the stack pointer doesn't seem like a portable technique.


At 03:16 PM 2003.05.13 +0200, Felix Winkelmann wrote:
>In case it hasn't been mentioned yet, the way to do CPS in C
>is described in
>
>http://home.pipeline.com/~hbaker1/CheneyMTA.html
>
>and implemented in
>
>http://www.call-with-current-continuation.org/chicken.html
>
>It works quite well, and is roughly comparable in performance
>to pure trampoline-based systems, at least for mostly standard
>compliant Scheme.
>
>
>cheers,
>felix
>
>
>