Login
From:
Scott Logic
(Uncensored)
subscribe
Recursion, Thunks and Trampolines with Java and Scala
https://blog.scottlogic.com/2025/05/02/recursion-thunks-trampolines-with-java-and-scala.html
links
backlinks
In this post we will see how Thunks and Trampolines can help solve problems by converting deep stack-based recursion into heap-based iteration helping to prevent StackOverflowErrors
Roast topics
Find topics
Find it!