All Topics
Recursion & Tail-Call Optimization
How recursion uses the call stack, why deep recursion crashes production servers, and when tail-call optimisation or an explicit loop is the fix.
Computer ScienceCoding
Videos (2)
Podcasts (1)
Infographics (1)
Sources (30)
- web page By example: Continuation-passing style in JavaScript
- web page CWE - CWE-674: Uncontrolled Recursion (5.0)
- web page Call stack - Glossary | MDN
- web page Debunking the 'Expensive Procedure Call' Myth, or, Procedure Call Implementations Considered Harmful, or, Lambda: The Ultimate GOTO
- web page ECMAScript 6 Proper Tail Calls in WebKit | WebKit
- web page Functions | Kotlin Documentation
- web page GO-2022-0526 - Go Packages
- web page GitHub - tc39/proposal-ptc-syntax: Discussion and specification for an explicit syntactic opt-in for Tail Calls. · GitHub
- web page GraphQL - OWASP Cheat Sheet Series
- web page InternalError: too much recursion - JavaScript | MDN
- web page Neopythonic: Final Words on Tail Calls
- web page Neopythonic: Tail Recursion Elimination
- web page On Recursion, Continuations and Trampolines - Eli Bendersky's website
- web page Optimize Options (Using the GNU Compiler Collection (GCC))
- web page PostgreSQL: Documentation: 18: 7.8. WITH Queries (Common Table Expressions)
- web page Programming in Lua : 6.3
- web page Recursion — Elixir v1.20.5
- web page Revised^5 Report on the Algorithmic Language Scheme
- web page Security | GraphQL
- web page Stack frame layout on x86-64 - Eli Bendersky's website
- web page StackOverflowError (Java SE 21 & JDK 21)
- web page Structure and Interpretation of Computer Programs, 2e: 1.2
- web page collections — Container datatypes — Python 3.15.2 documentation
- web page functools — Higher-order functions and operations on callable objects — Python 3.15.2 documentation
- web page https://exploringjs.com/es6/ch_tail-calls.html
- pdf 01-recursion
- pdf 03-dynprog
- web page serde_json - Rust
- web page stacker - Rust
- web page sys — System-specific parameters and functions — Python 3.15.2 documentation