haskell-halogen icon indicating copy to clipboard operation
haskell-halogen copied to clipboard

WebAssembly support

Open georgefst opened this issue 1 year ago • 2 comments

I notice that this project is specifically designed to be used by GHC's JS backend. What would it take to add compatibility with the Wasm backend?

georgefst avatar Jan 22 '25 18:01 georgefst

I don't know how does one use JS FFI in WASM, but I imagine it's about adding a MonadDOM instance for WASM.

Swordlash avatar Mar 17 '25 09:03 Swordlash

The FFI is documented here. Anyway, I must admit I've lost interest in this a bit since Miso has now added support for components. It's a quite different architecture to Halogen though, and I'm sure there are pros and cons to each.

georgefst avatar Mar 29 '25 19:03 georgefst