reflex VS Elm

Compare reflex vs Elm and see what are their differences.

reflex

Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse. (by reflex-frp)

Elm

Compiler for Elm, a functional language for reliable webapps. (by elm)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
reflex Elm
17 198
1,054 7,434
0.1% 0.7%
6.0 5.4
2 months ago 15 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

reflex

Posts with mentions or reviews of reflex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-08.
  • On inheritance and why it's good Rust doesn't have it
    5 projects | /r/rust | 8 Dec 2023
    There's other people around here who would like to know your opinion about these GUI frameworks! I haven't written a GUI in Rust personally, but my favorite GUI framework is not at all OOP: https://reflex-frp.org/
  • Reflex – Web apps in pure Python
    9 projects | news.ycombinator.com | 2 Aug 2023
    Not to be confused with Reflex, allowing web apps in pure Haskell: https://reflex-frp.org/
  • Interactive animations
    11 projects | /r/haskell | 6 May 2023
    FRP solutions sound very attractive. But reflex seems to be stuck on the outdated GHCJS, and I haven't been able to get it to build. The newer JS output in GHC doesn't yet have DOM support. And even if I used one of those, figuring out how to interact with a LaTeX renderer might be tricky.
  • The Quest for the Ultimate GUI Framework
    4 projects | /r/programming | 22 Apr 2023
    I only have experience using Reflex, which I regard as the main contender for FRP UI libraries in the Haskell sphere. It's got a flashy website, but I think the documentation is a bit disorganized -- it took a long time for me to figure out how to get going with the library (you find some pieces of knowledge scattered here and there, if you look hard enough). My plan was to learn it well enough to onboard other people, but I don't think I could convince anyone who hasn't already decided that they're gonna make UIs in Haskell no matter the required effort.
  • Simple GHC stack for a novice
    6 projects | /r/haskell | 17 Oct 2022
    Once someone has spent a bunch of time with Haskell and sees the value, they will find Nix if it makes sense. Maybe they'll want to play with https://reflex-frp.org, or they'll discover they want a better way to package 3rd-party dependencies, or they start using NixOS and want to nix all the things, etc. etc. Or, maybe they'll never find a use for it, and that's okay.
  • Functional Reactive Programming
    9 projects | news.ycombinator.com | 16 Aug 2022
  • Exploring ideas in Haskell
    3 projects | /r/haskell | 14 Jan 2022
    Now, I've been convinced to take another look at reflex. This quick reference seems very useful, most other resources seem to always discuss reflex-dom specifically. I'm not really interested in that.
  • Is Haskell capable of this?
    8 projects | /r/haskell | 25 Nov 2021
    Have a look at https://reflex-frp.org/, or https://owickstrom.github.io/gi-gtk-declarative/, they are an interesting and different way of working with UI in a non imperative way.
  • Why Do We Need Transpilation into JavaScript?
    6 projects | dev.to | 5 Apr 2021
    At present, here at Typeable we develop frontend in Haskell and use the web framework Reflex and the functional reactive programming (FRP). The source code in Haskell is transpiled into the JavaScript code using GHCJS.
  • Comparing Elm with Reflex
    5 projects | dev.to | 22 Mar 2021
    Reflex is the framework that allows creating reactive web applications in Haskell.

Elm

Posts with mentions or reviews of Elm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-21.

What are some alternatives?

When comparing reflex and Elm you can also consider the following projects:

rescript-compiler - The compiler for ReScript.

haskelm - Haskell to Elm translation using Template Haskell. Contains both a library and executable.

purescript - A strongly-typed language that compiles to JavaScript

yew - Rust / Wasm framework for creating reliable and efficient web applications

idris - A Dependently Typed Functional Programming Language

sodium - Sodium - Functional Reactive Programming (FRP) Library for multiple languages

haskell-names - Haskell suite library for name resolution

language-thrift - Haskell parser for the Thrift IDL format.

Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Svelte - Cybernetically enhanced web apps

Cycle.js - A functional and reactive JavaScript framework for predictable code

lens-toml-parser - Lenses for toml-parser