Re:Bend: a high-level language that runs on GPUs (via HVM2)
by fulafel on Saturday May 18, 2024 @02:03AM
(#40396773)
Computer science traditionally focuses on algorithms. Divide-and-conquer algorithms are frequently much more clearly expressed as recursion. Quicksort is the classic example, also various tree operations.
I've never understood the fascination with tail calls and recursion among computer science folks. Just write a loop, it's what it optimises to anyway.