Tail Call

  • Tail call | Wikipedia
  • Compiler can optimize the mem allocation.
  • Essential for functional-programming languages where recursion is this only approach for iteration.
  • Many languages don’t implement it, since eliminating stack traces in some function calls is confusing to majority of developers.