You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This proposal adds new call instructions for tail calls. Tail calls behave like regular function calls, except that they pop the current stack frame before executing the call. Support for such calls is necessary for a correct and efficient implementation of languages that rely on tail call elimination. It also facilitates implementing languages with control constructs like coroutines or continuations efficiently.
Implementing this proposal will allow us to run such languages efficiently on GraalWasm.
TL;DR
We plan to implement the Tail Call proposal in GraalWasm.
Details
This proposal adds new call instructions for tail calls. Tail calls behave like regular function calls, except that they pop the current stack frame before executing the call. Support for such calls is necessary for a correct and efficient implementation of languages that rely on tail call elimination. It also facilitates implementing languages with control constructs like coroutines or continuations efficiently.
Implementing this proposal will allow us to run such languages efficiently on GraalWasm.
More details at https://github.com/WebAssembly/tail-call/blob/main/proposals/tail-call/Overview.md
The text was updated successfully, but these errors were encountered: