GHCJS or Asterius

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • penrose

    Haskell to JavaScript compiler, based on GHC

  • 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.

  • purescript-backend-optimizer

    Optimizing backend toolkit and modern ECMAScript backend for PureScript

  • 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.

  • 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.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts