binaryen VS Elm

Compare binaryen vs Elm and see what are their differences.

binaryen

DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc (by tweag)

Elm

Compiler for Elm, a functional language for reliable webapps. (by elm)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
binaryen Elm
9 198
2,007 7,434
- 0.7%
3.4 5.4
over 1 year ago 16 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.

binaryen

Posts with mentions or reviews of binaryen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-13.
  • Options for a frontend of demo for a toy app
    6 projects | /r/haskell | 13 Jun 2022
    ghcjs is the way to go for you, and soon it might be asterius. i do not know how hard it is to set ghcjs up without a framework. but frameworks like obelisk (based on reflex-dom), shpadoinkle, and miso automate that for. i personally like obelisk for its functional reactive programming but it can get awkward and get in your way. so if gui programming is just a means to the end of this one small application and you are not really interested in it nor functional reactive programming, shpadoinkle or miso might suit you better. miso implements the elm architecture (also "TEA", "functional model view controller") and shpadoinkle implements something directly equivalent to the elm architecture. but shpadoinkle achieves more composable widgets by minimalizing the elm architecture. so i recommend shpadoinkle for its better concept although miso is more mature.
  • hint: Runtime Haskell interpreter
    6 projects | /r/haskell | 1 May 2022
    Also, hint uses unsafeCoerce, and thus implicitly relies on an assumption about how values are represented at runtime. Namely, if a program P is interpreting an expression E of type A, hint assumes that the value of type A produced by the ghc interpreter has the same representation as the values of type A which are manipulated by program P. This is not guaranteed to be the case, since P has been compiled by the compiler portion of ghc while E has been evaluated by the interpreter portion of ghc. This means the ghc devs had to carefully craft their compiler and interpreters to match. When targetting the browser, a Haskell-to-js or Haskell-to-wasm compiler such as Asterius modifies ghc's code-generator so it produces js or wasm code. You would thus also need to tweak the interpreter so that it produces js or wasm values which match what the modified code-generator outputs. Or you could restrict yourself to the hint's less expressive eval :: String -> String API.
  • M1Pro Woes
    3 projects | /r/haskell | 8 Feb 2022
    We found a post where someone had a similar issue (here), but the fix in that issue doesn't help: using `ar` from `binutils` causes link errors like this instead:
  • Pandoc in the browser w/ lua (possible contract gig?)
    4 projects | /r/haskell | 16 Jan 2022
    https://github.com/tweag/asterius/issues/851 (asterius has a demo, but no source, and I -assume no lua filter support)
  • Is GHCJS stuck on GHC 8.6.5?
    3 projects | /r/haskell | 17 Apr 2021
    Another option is Asterius. I'm not familiar with the current state, and it's not had active development for about 3 months now, either, so it may be in the same boat? But I think the big disadvantage of Asterius is that there's just a lot less usage, and therefore a lot less testing with the whole Haskell ecosystem, versus GHCJS which has been a fixture for a while and where loads of people have thought about compatibility for years.
  • Haskell to JS
    4 projects | /r/haskell | 22 Jan 2021
    Check out asterius
  • WebAssembly Studio
    5 projects | news.ycombinator.com | 31 Dec 2020
    I've played around with Haskell via the Asteruis project : https://github.com/tweag/asterius

    Also emscripten of course, for C/C++.

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 binaryen 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

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.

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