Ah they beat me to the JS FFI implementation strategy I’ll be pursuing for Hoot: gather up JS FFI import specifications in the code, write them to a wasm custom section, then use that custom section to generate a JS file that loads the binary with all the necessary imports. Nice job, Cheng Shao and Haskell wasm folks!
Ah they beat me to the JS FFI implementation strategy I’ll be pursuing for Hoot: gather up JS FFI import specifications in the code, write them to a wasm custom section, then use that custom section to generate a JS file that loads the binary with all the necessary imports. Nice job, Cheng Shao and Haskell wasm folks!