2 ms·
Another idea, wasm_of_ocaml [1] compiles effects using either a CPS transform or the JS Promise integration proposal for Wasm [2]. [1]: https://github.com/ocsi
by debugnik 8mo ago
Another idea, wasm_of_ocaml [1] compiles effects using either a CPS transform or the JS Promise integration proposal for Wasm [2].
[1]: https://github.com/ocsigen/js_of_ocaml/blob/1b1fcf7b06c1232452ccbb1ce2fa4b902a6b6635/README_wasm_of_ocaml.md https://github.com/ocsigen/js_of_ocaml/blob/1b1fcf7b06c12324...
[2]: https://github.com/WebAssembly/js-promise-integration/blob/72b61f57ef7ea45b54bd7b463fc9f3044beee4ec/proposals/js-promise-integration/Overview.md https://github.com/WebAssembly/js-promise-integration/blob/7...