~/talk

How to Catch Recursion by the Tail

TalkinRussianat SnowOne 2022 · 2022-02-24..02-26· [java, functional-programming]
links:none on file
slides:none on file

Examines whether and how tail-recursive calls can be converted into loops on the JVM: why tail-call elimination is useful, which Java virtual machines (and whether it’s legal) perform such transformations, and what third-party tools can help optimize functional-style Java code. Also compares JVM-friendly functional languages such as Scala and Kotlin that provide stronger support for tail-recursion.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Recursion stack overflow
  3. 4:15Tail recursion with accumulator
  4. 6:06Tail call optimization basics
  5. 8:15Manual optimization pitfalls
  6. 10:22Identifying tail recursion
  7. 12:36Virtual method calls and recursion
  8. 15:30Bytecode-level optimization
  9. 21:57Language support for tail recursion
  10. 24:26Scala and Kotlin approaches
  11. 28:43Logical operators and recursion
  12. 31:59Critique of Kotlin and Scala
  13. 33:26Virtual call optimization
  14. 36:33Virtual machine role in optimization
  15. 41:51Performance benchmarks
  16. 49:02Stack traces and debugging
  17. 53:42Stack depth and performance
  18. 55:49HotSpot exception handling
  19. 58:00Recommendations
  20. 59:07Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.