r/ProgrammingLanguages • Futhark • Aug 05 '26

Finally adding recursive functions to Futhark

https://futhark-lang.org/blog/2026-08-05-recursion.html
65 Upvotes

9 comments sorted by

View all comments

Show parent comment

4

u/Athas Futhark Aug 05 '26

This is probably a good idea in the special case where the recursion is size-preserving per element. This is one of those things that traditional flattening transformations could not do, because they did not have any size information, but Futhark's flattening can do this.