letlang VS gleam

Compare letlang vs gleam and see what are their differences.

letlang

Functional language with a powerful type system. (by linkdd)

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
letlang gleam
12 99
157 15,547
- 8.3%
7.9 9.9
4 months ago 6 days ago
Rust Rust
MIT License 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.

letlang

Posts with mentions or reviews of letlang. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-07.
  • Letlang — Roadblocks and how to overcome them - My programming language targeting Rust
    2 projects | /r/programming | 7 Jun 2023
    That works for any types (except the functional types), and even the generic ones. During code generation, I create structs that implement the Type trait.
  • A new milestone for Letlang (targeting Rust) - Effect Handlers
    2 projects | /r/rust | 13 Mar 2023
    As stated on the website ( https://letlang.dev ), Letlang is a general-purpose language.
  • Writing a simple Lisp interpreter in Rust
    2 projects | news.ycombinator.com | 4 Mar 2023
    Author here, the article is more about how Rust and its ecosystem are nice tools for language designers rather than the beauty of Lisp.

    The crates listed in that article are the ones I use for my compiler: https://letlang.dev

    Lisp was only chosen as a way to demonstrate the power of those crates and Rust features. A kind of way of justifying my choices for Letlang.

    It's not "you should do it like this" but "you can do it like this".

  • Ask HN: Possible? Faster than C, simpler than Python, safer than Rust
    5 projects | news.ycombinator.com | 3 Mar 2023
    "Faster than C", I saw people write C code slower than a Python equivalent. So I have to admit, I don't know what it means for a language to be fast, because it depends on the algorithm being implemented.

    ---

    "simpler than Python", what does "simple" mean?

    Simple design? Python's design is very complex (take a look at "Crimes with Python's pattern matching" < https://www.hillelwayne.com/post/python-abc/ > for example), on the other hand, assembly languages, or Lisp, or Forth, have a very simple design.

    Simple as in "easy to use"? Rust is easy, write code, fix what the compiler tells you you did wrong. Joke aside, Go is quite easy to use and while I personally don't like this language, I get why it replaced Python in a lot of use cases.

    Also, once you get used to the OTP framework, Erlang/Elixir/Gleam/any beam language are quite easy to use and have less footguns than Python.

    ---

    "safer than Rust" is too vague. Is it memory safety? type safety? thread safety? cosmic ray safety? A mix of all of that?

    Let's guess you meant "memory safety". All languages with a Garbage Collector are "memory safe".

    ---

    On a semi-unrelated note, I've been working on https://letlang.dev

    It's a language inspired by Erlang/Elixir (same concurrency model) that compiles to Rust code (the runtime use tokio). It is immutable, have no Garbage Collector thanks to Rust semantics, and dynamically typed.

    I haven't run any benchmark (it's not even finished, I've been working on the specification before continuing the implementation), but I guess it could be slower than a rock.

    ---

    For some recommendations, have you looked at Zig? Nim? Hare?

      https://ziglang.org/
  • Syntax for defining algebraic data types
    4 projects | /r/ProgrammingLanguages | 3 Feb 2023
    In my language (Letlang), I use the keyword class with structural pattern matching and optionally a predicate. Types (or rather, classes) can be combined with logical operators &, |, !:
  • Erlang's not about lightweight processes and message passing
    9 projects | news.ycombinator.com | 27 Jan 2023
    Not sure this is what GP is talking about but to implement the actor model in https://letlang.dev I use tokio.
  • Features you've removed from your lang? Why did you put them in, why did you take them out?
    3 projects | /r/ProgrammingLanguages | 6 Jan 2023
    In the early drafts of Letlang, I had the goal to add an equation solver. I got rid of that because:
  • What features would you want in a new programming language?
    5 projects | /r/ProgrammingLanguages | 3 Jan 2023
    I'm working on a programming language inspired by erlang and which compiles to Rust: https://letlang.dev
  • Six programming languages I’d like to see
    28 projects | news.ycombinator.com | 13 Jul 2022
    For a contract based language and a "really dynamically typed language", I'm working on https://letlang.dev

    And it's because I haven't thought yet about how to do static type checking with such a feature.

    I haven't got any time to work on it in the past few weeks, and I'm the only dev (would really love some help). So, it will be ready when it will be ready :P

  • Hello Letlang! My programming language targeting Rust
    1 project | /r/ProgrammingLanguages | 16 May 2022
    I use Rust generators to implement them, a rudimentary example: https://github.com/linkdd/letlang/blob/main/letlang_runtime/src/utils/entrypoint.rs

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
    21 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 letlang and gleam you can also consider the following projects:

zigself - An implementation of the Self programming language in Zig

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

scenebuilder - Scene Builder is a visual, drag 'n' drop, layout tool for designing JavaFX application user interfaces.

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

cells - A Common Lisp implementation of the dataflow programming paradigm

Rustler - Safe Rust bridge for creating Erlang NIF functions

power-fx-host-samples - Samples for hosting Power Fx engine.

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

impulse - Impossible Dev Tools for React and Tailwind

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

halo - An experimental graph-based meta programming language

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