Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-44523] Implement Tail Call Proposal for WebAssembly #9763

Open
fniephaus opened this issue Sep 26, 2024 · 0 comments
Open

[GR-44523] Implement Tail Call Proposal for WebAssembly #9763

fniephaus opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels

Comments

@fniephaus
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants