Created
November 8, 2023 14:24
-
-
Save rain-1/20329ae349a866b29aa1a37eb8a4a88c to your computer and use it in GitHub Desktop.
Revisions
-
rain-1 created this gist
Nov 8, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ * There is a specification for a tail call instruction in wasm. [github.com/WebAssembly/tail-call](https://github.com/WebAssembly/tail-call/blob/master/proposals/tail-call/Overview.md) [https://v8.dev/blog/wasm-tail-call](https://v8.dev/blog/wasm-tail-call) * Browsers, e.g. Chrome, implement this. [https://webassembly.org/roadmap/](https://webassembly.org/roadmap/) * At least one scheme implementation called Guile-Hoot targets this [https://gitlab.com/spritely/guile-hoot](https://gitlab.com/spritely/guile-hoot) [ABI](https://gitlab.com/spritely/guile-hoot/-/blob/main/design/ABI.md#calling-convention) [spritely.institute/Status](https://spritely.institute/files/docs/guile-hoot/latest/Status.html) This spec seems to have gotten in thanks to work by apignotti, https://hn.algolia.com/?q=WebAssembly+tail+calls There is also a very interesting project for generalized effect handlers that may build on top of this platform https://wasmfx.dev/community/ Great news for schemers with web browsers.