gpujs / gpujs/gpu.js

Feature request: tail-recursive functions

Open
#578 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.