[cps being implementable in a cheap way] > Absolutely -- the paper I linked to shows 10 or so different implementation > strategies
I'm not all that up to date on recent research, but as I understand it, the great optimistic CPS wave of the 90's (see, for example, Appel's papers) has been largely discredited as not working out so well in practice. Even in the Scheme world, a common opinion seems to be that continuations can be implemented in two ways -- you either make normal code extra expensive and get fast continuations, or you make normal code fast, and pay a serious price (stack copying) when you actually use a continuation. This makes them rather unattractive. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
