Feature request: tail-recursive functions
Open
- Dominant language
- JavaScript
- Stars
- 15.5k
- Forks
- 663
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure if GPU.js is able to compile recursive JavaScript functions, but I found [a Babel plugin](https://github.com/krzkaczor/babel-plugin-tailcall-optimization) that converts "tail-recursive" functions to non-recursive functions. Should GPU.js use this plugin to compile recursive functions?
Contributor guide
Assessment
This issue has not been assessed yet.