User loginNavigation |
Pure imperative programmingTwo intensively studied intermediate representations in compiler theory are Static Single Assignment form (SSA) and CPS translations, and Richard Kelsey's 1995 paper, A Correspondence Between Continuation Passing Style and Static Single Assignment Form (.ps.gz) shows a nearly complete, exact equivalence between the two IRs. The correspondence shows how the imperatively expressed SSA can be regarded as side-effect free, and Andrew Appel has pushed this idea to claim that SSA is functional programming. This result is of clear relevance to discussions turning on "what is purity?", such as here. As an aside, the Wikipedia article Static Single Assignment form is rather good. |
Browse archivesActive forum topics |
Recent comments
22 min 37 sec ago
1 hour 25 min ago
2 hours 43 min ago
4 hours 55 min ago
5 hours 17 min ago
5 hours 30 min ago
6 hours 26 min ago
6 hours 37 min ago
7 hours 53 min ago
10 hours 11 min ago