generalnews.media
importance 3/5 Exclusive

C Compilers Only Recently Adopted Tail-Call Optimization

Tail-call optimization, which converts recursive functions into loops to prevent stack overflow, has only recently been implemented in mainstream C compilers. Unlike languages like Scheme, where it has long been mandatory, C's support is new and not guaranteed by the standard. This matters for C developers seeking safe deep recursion.

Technology

Sources (1)

technology
← Back to home