purerl VS gleam

Compare purerl vs gleam and see what are their differences.

purerl

Erlang backend for the PureScript compiler (by purerl)

gleam

⭐️ A friendly language for building type-safe, scalable systems! (by gleam-lang)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
purerl gleam
6 96
314 15,033
1.3% 5.1%
5.9 9.9
4 months ago 4 days ago
Haskell Rust
GNU General Public License v3.0 or later Apache License 2.0
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.

purerl

Posts with mentions or reviews of purerl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-02.
  • Erlang: The coding language that finance forgot
    9 projects | news.ycombinator.com | 2 Feb 2023
    I will put in a good word for PureScript for the beam with `purerl`. It's my go-to for writing BEAM code nowadays. Notably PureScript tooling including LSP, package management, etc., just works, so you are able to just get to work in internalizing the way OTP and other Erlangy things are expressed in a statically typed, pure language.

    https://github.com/purerl/purerl & https://purerl-cookbook.readthedocs.io/ for more information. Join the PureScript discord and the #purerl channel if you want help.

  • purerl - Integrating PureScript into Elixir projects
    6 projects | dev.to | 11 Jan 2023
    purerl is a compiler for turning PureScript code into Erlang code, so that you're able to write BEAM (the Erlang virtual machine) applications using it.
  • Phoenix 1.7 is View-less
    10 projects | news.ycombinator.com | 30 Dec 2022
    You've been able to write PureScript that compiles to Erlang and has perfect interop for years, via `purerl`[0]. Using it with Elixir is as simple as adding `purerlex` as a compiler and having your PureScript code automatically compile when `mix` compiles things, and off you go.

    In terms of the typing itself, it's exactly what you get in all of PureScript, strict static typing with no `any` or the like. Using `Pinto`, the de facto OTP layer in PureScript your processes are typed, i.e. their `info` messages & state are typed, which means that they are all much more like strongly typed state machines than anything else.

    You can see an example of a basic `gen_server` here:

    https://pastebin.com/UTEfz7Wg

    The differences aren't very big in terms of what you'd expect to be doing. One small thing to note is that the `GenServer.call` expects a closure to be passed instead of having the split between `gen_server:call` & `handle_call`, removing the need for synchronizing two places for your messages being sent and handled.

    0 - https://github.com/purerl/purerl

  • Angular without SSR is faster than Next.js with SSR. I have the data
    4 projects | news.ycombinator.com | 27 Jun 2022
  • Beam VM Wisdoms
    2 projects | news.ycombinator.com | 21 Apr 2021
  • V0.14 of Gleam, a type safe language for the Erlang VM, has been released
    3 projects | news.ycombinator.com | 18 Feb 2021

gleam

Posts with mentions or reviews of gleam. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-30.
  • Borgo is a statically typed language that compiles to Go
    20 projects | news.ycombinator.com | 30 Apr 2024
    I haven't had time to really try to write anything in it, but https://gleam.run/ looks really good too. Like Elm for backend + frontend!
  • Release Radar • March 2024 Edition
    14 projects | dev.to | 7 Apr 2024
    Want a friendly language for building safe systems at scale? Gleam is here for you. It features modern and familiar syntax, that's reliable and scalable. Gleam runs on an Erlang virtual machine, and can run plenty of concurrent tasks. It comes with a compiler, build tool, formatter, editor integrations, and package manager all built in so you can get started right away. Congrats to the team on shipping your first major version 🙌.
  • The Current State of Clojure's Machine Learning Ecosystem
    4 projects | news.ycombinator.com | 7 Apr 2024
    While I love Clojure, I have to agree about tooling. I recently started using Gleam* and was impressed at how easy it was to get up and running with the CLI tool. I think this is an important part of getting people to adopt a language.

    * https://gleam.run/

  • Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests
    9 projects | news.ycombinator.com | 7 Apr 2024
    If you use languages that compile to WASM (such as Gleam https://gleam.run), and can also run Postgres via WASM, then it opens very interesting offline scenarios with codebases which are similar on both the client and the server, for instance.
  • Why the number of Gleam programmers is growing so fast?
    1 project | dev.to | 26 Mar 2024
    Recently, Gleam has gained more popularity, and a lot of developers (including me) are learning it. At the time of this writing, it has exceeded 14k stars on GitHub; it grew really fast for the last month.
  • Cranelift code generation comes to Rust
    5 projects | news.ycombinator.com | 18 Mar 2024
  • Gleam v1.0.0
    1 project | news.ycombinator.com | 4 Mar 2024
  • Gleam has a 1.0 release candidate
    1 project | news.ycombinator.com | 10 Feb 2024
  • Welcome to the Gleam Language Tour
    1 project | news.ycombinator.com | 20 Jan 2024
    Oh, strange that github had a date of 2016 on this one: https://github.com/gleam-lang/gleam/issues/2

    I was just going by that, though I do remember checking out gleam 5 years ago or so.

    Re: macros, I really do think they’re a big deal and all the other newer languages I’ve used, such as Rust have some kind of macros or powerful meta programming features.

    For older languages, a few, like Ruby have enough meta programmability to make nice DSLs, but many others don’t. Given the choice, I’d much rather have Elixir/Clojure style macros than other meta-programming facilities I’ve seen so far.

  • Inko Programming Language
    4 projects | news.ycombinator.com | 14 Nov 2023
    I had been only following this language with some interest, I guess this was born in gitlab not sure if the creator(s) still work there. This is what I'd have wanted golang to be (albeit with GC when you do not have clear lifetimes).

    But how would you differentiate yourself from https://gleam.run which can leverage the OTP, I'd be more interested if we can adapt Gleam to graalvm isolates so we can leverage the JVM ecosystem.

What are some alternatives?

When comparing purerl and gleam you can also consider the following projects:

hamler - Haskell-style functional programming language running on Erlang VM.

are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays

Gradualizer - A Gradual type system for Erlang

web3.js - Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.

lumen - An alternative BEAM implementation, designed for WebAssembly

Rustler - Safe Rust bridge for creating Erlang NIF functions

erllambda - AWS Lambda in Erlang

ponyc - Pony is an open-source, actor-model, capabilities-secure, high performance programming language

js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks

nx - Multi-dimensional arrays (tensors) and numerical definitions for Elixir

FunkyABX - Audio blind tests