Re:Compiling with Continuations, Continued (2007) [pdf]
by gsg on Sunday July 13, 2014 @01:36AM
(#8026739)
Although I take your point about CPS in other disciplines, TFA advocates compiling with continuations. A criticism of its suitability for compilation would seem to be relevant.
[ Parent
| on HN ]
Re:Compiling with Continuations, Continued (2007) [pdf]
by l_dopa on Sunday July 13, 2014 @12:00PM
(#8027699)
Sure, and Weeks is totally correct regarding tree vs. flat representations, but I think identifying CPS with the former and SSA with the latter is misleading. The scoping discipline (respectively, dominator tree) is part of the language whether you represent it as subtrees or leave it implicit.
It would be more accurate to say that SSA is a particularly efficient data structure for representing a subset of CPS terms.