2 ms·
I recall that scala uses "trampolines" by compiling to what is more like a state machine.
by cordite 13y ago
I recall that scala uses "trampolines" by compiling to what is more like a state machine.
- judk 13y agoI thought Actors does that, but not Scala in general.(?)
- cordite 13y agoRúnar Bjarnason talked about it in his presentation "FP Programming is Terrible" [0] (he makes up for that title in the end) I asked him about it on twitter since it reminded me of thunks, he said " a trampoline executes a sequence of thunks, yeah" [1] [0]: https://www.youtube.com/watch?v=hzf3hTUKk8U https://www.youtube.com/watch?v=hzf3hTUKk8U [1]: https://twitter.com/runarorama/status/449070763421618176 https://twitter.com/runarorama/status/449070763421618176