Re: a rehash of the question of optimizing some prompt ideoms

2013-09-01 Thread Stefan Israelsson Tampe
Hi, To note in e.g. logic programming one can inline a lot of code and the final result of peval is that it will and should not expand the lambdas at site due to code explosion. What happens now, as I understand, is that closures are created at a resulting quite hefty overhead. In stead if one emp

Re: a rehash of the question of optimizing some prompt ideoms

2013-08-30 Thread Mark H Weaver
Mark H Weaver writes: > Hi Stefan, > > Stefan Israelsson Tampe writes: >> Delimeted continuations can be looked upon as a generalization of >> common lisps tagbody e.g. it's trivial to produce tagbody semantics >> with the help of prompts. > > I haven't yet digested the rest of your email, but I

Re: a rehash of the question of optimizing some prompt ideoms

2013-08-30 Thread Mark H Weaver
Hi Stefan, Stefan Israelsson Tampe writes: > Delimeted continuations can be looked upon as a generalization of > common lisps tagbody e.g. it's trivial to produce tagbody semantics > with the help of prompts. I haven't yet digested the rest of your email, but I wanted to point out that prompts a

a rehash of the question of optimizing some prompt ideoms

2013-08-30 Thread Stefan Israelsson Tampe
Hi all, In the wake of the wowely code Andy Mark and Noah have been producing I want to lift the question of what we can do to compile some delimeted continuation code effeciently. Delimeted continuations can be looked upon as a generalization of common lisps tagbody e.g. it's trivial to produce