tail-call-optimization

Tag

Cards List
#tail-call-optimization

Tail-call optimization in C is relatively recent

Hacker News Top · 3d ago Cached

A LWN comment discusses the relatively recent implementation of tail-call optimization in C compilers, citing historical limitations and noting that modern GCC and Clang now support it, with potential benefits for interpreter implementations.

0 favorites 0 likes
#tail-call-optimization

Recursion is lying to you

Hacker News Top · 2026-07-28 Cached

This article explains how recursion in JavaScript can cause stack overflow even when using tail recursion, due to lack of proper tail call optimization in most runtimes. It discusses the hidden pitfalls of elegant abstractions.

0 favorites 0 likes
← Back to home

Submit Feedback