[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lexical goto would include full continuations?
- From: Tony Finch <dot@...>
- Date: Tue, 12 Jul 2011 18:19:11 +0100
Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>
> There are several other issues with continuations besides frame
> collection.
The major one that I forgot to mention (!) is that both SML/NJ and Chicken
Scheme do CPS conversion of the code which eliminates all function
returns. This requires the parser to build an AST which is extensively
rewritten before being reduced to executable code. This would be a fairly
big slowdown for Lua.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Malin, Hebrides: East or northeast, becoming variable 3 or 4, occasionally 5
at first in Hebrides. Slight or moderate. Mainly fair. Good.