2 ms·
Yes, single assignment is functional programming.[1] But without all the cool notational problems. [1] https://www.cs.princeton.edu/~appel/papers/ssafun.pdf ht
by Animats 8y ago
Yes, single assignment is functional programming.[1] But without all the cool notational problems.
[1] https://www.cs.princeton.edu/~appel/papers/ssafun.pdf https://www.cs.princeton.edu/~appel/papers/ssafun.pdf
- touisteur 8y agoThe SSA Book from INRIA is a fun deep dive in SSA. Amazing what you can do on such a 'dumb' representation. Previous hn link with interesting comments on HN: https://news.ycombinator.com/item?id=9376184 https://news.ycombinator.com/item?id=9376184
- atombender 8y agoExcellent paper. Just submitted it: https://news.ycombinator.com/item?id=18800570 https://news.ycombinator.com/item?id=18800570
- profquail 8y agoThere’ve been some follow-up papers to Appel’s Compiling with Continuations over the years. The most recent one, Compiling with Contiuations, or Without? Whatever. [1] is pretty interesting — they show a direct-style functional IR with 2nd-class continuations, and describe how it can be used for both traditional SSA-style optimizations, as well as some optimizations that more naturally operate on CPS-style IR. [1]: https://www.cs.purdue.edu/homes/rompf/papers/cong-preprint201811.pdf https://www.cs.purdue.edu/homes/rompf/papers/cong-preprint20...