Our great sponsors
-
purescript-backend-optimizer
Optimizing backend toolkit and modern ECMAScript backend for PureScript
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
About the FFI: GHCJS extended the FFI to support inlined JS, named arguments, etc. See https://github.com/ghcjs/ghcjs/blob/master/doc/foreign-function-interface.md For now the JS backend only implements FFI calls similarly to native FFI. The rest will be open to discussion later (e.g. in a ghc-proposal) and should take into account the Wasm backend so that the same user code compiles with both backends as much as possible.
FWIW, and I realize this is somewhat off-topic, but I'd like to note that PS tooling has improved dramatically since then. With ES modules, it works out of the box with JS tooling (we recommend esbuild, which will bundle/minify/strip unused code in a fraction of a second). And with purescript-backend-optimizer you can get even smaller code with non-trivial high-level optimizations for production builds. I just want people to know that I don't think anyone will need 1-2 engineers just to figure out how to deploy PureScript code.