miniblog.
← Back to all posts
May 13, 2017 at 15:10
On Recursion, Continuations and Trampolines
https://eli.thegreenplace.net/2017/on-recursion-continuations-and-trampolines/
Wonderful post with really clear examples, relating TCO and CPS.
On Recursion, Continuations and Trampolines - Eli Bendersky's website
eli.thegreenplace.net/2017/on-recursion-continuations-and-trampolines/
Wilfred Hughes
Related Posts
May 7, 2016 at 19:15
Pharo takes a really interesting approach to recursion: instead of TCO, it just has an unbounded stack! '10000 factorial' just works.
Wilfred Hughes
Shared words: Recursion, TCO, really Score: 196
Feb 7, 2016 at 22:48
Scheme and elisp feel like very different languages. Scheme has TCO, continuations and hygienic macros. Elisp is way more procedural.
Wilfred Hughes
Shared words: Continuations, TCO Score: 128.1
Apr 20, 2014 at 10:16
I've written a Python program that *requires* TCO. I'm going to have to rewrite in continuation passing style. Argh.
Wilfred Hughes
Shared words: Continuations, TCO Score: 128.1