3 ms·
Co-author here. if you are interested in tail calls you just need to understand the call instruction which we cover in the book and then replace it with either
by marianoguerra 1y ago
Co-author here.
if you are interested in tail calls you just need to understand the call instruction which we cover in the book and then replace it with either:
- return_call <funcidx>, the tail-call version of call
- return_call_indirect <tableidx> <typeidx>, the tail-call version of call_indirect
More info here: https://github.com/WebAssembly/tail-call/blob/main/proposals/tail-call/Overview.md#structure https://github.com/WebAssembly/tail-call/blob/main/proposals...
- AndruLuvisi 1y agoThank you both for the replies.