gleam VS are-we-fast-yet

Compare gleam vs are-we-fast-yet and see what are their differences.

gleam

⭐️ A friendly language for building type-safe, scalable systems! (by gleam-lang)

are-we-fast-yet

Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays (by smarr)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
gleam are-we-fast-yet
117 18
18,583 344
2.4% 2.0%
9.9 6.8
5 days ago 29 days ago
Rust Java
Apache License 2.0 GNU General Public License v3.0 or later
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.

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-12-21.
  • Introduction to Gleam Programming Language
    2 projects | dev.to | 21 Dec 2024
    Gleam GitHub Repository
  • Building Your First Gleam Application: A Weather CLI Tool
    1 project | dev.to | 21 Dec 2024
    Official Gleam Documentation
  • Ask HN: Isn't there a lightweight and popular Rust?
    1 project | news.ycombinator.com | 19 Nov 2024
    - https://without.boats/blog/revisiting-a-smaller-rust/

    It's also niche, but https://gleam.run/ might be a candidate alternate language, depending on your use-case.

  • Gleam 1.6.0 Is Released
    1 project | news.ycombinator.com | 18 Nov 2024
  • Everything Is Just Functions: Mind-Blowing Insights from SICP and David Beazley
    1 project | news.ycombinator.com | 18 Nov 2024
    Not the other commenter, but my team has been using Elixir in production (soft real-time distributed systems) for several years to great success. The approachable syntax has been great for folks new to the language coming on board and sort of, not realising they’re “doing FP”.

    Generally I’d say Elixir’s lack of “hard” static typing is more than made up for what you get from the BEAM VM, OTP, its concurrency model, supervisors etc.

    That said if you’re interested in leveraging the platform whilst also programming with types I’d recommend checking out Gleam (https://gleam.run), which I believe uses an HM type system.

  • Concurrency & Fault-tolerant In Distributed Systems
    4 projects | dev.to | 4 Nov 2024
    The BEAM runtime demonstrates the power of building concurrency and fault tolerance into the core runtime. While other languages can approximate these capabilities through frameworks, the elegance and robustness of having it built into the runtime remains compelling. I believe that’s why Gleam decided to use the BEAM when it was being built.
  • Top FP technologies
    22 projects | dev.to | 29 Oct 2024
    Gleam
  • 👉 What is gleam language used for ❓
    3 projects | dev.to | 29 Oct 2024
    Gleam as it says in their website is a friendly language for building type-safe systems that scale!.
  • What Language Should I Choose?
    5 projects | dev.to | 11 Oct 2024
    One language that really gave me that feeling was Gleam, it managed to wrap everything I liked about languages such as JS, Rust and even Java into one brilliant type-safe package. Not for a long time before I met Gleam had I wanted to try creating so many different things just to get to the bottom of how this language ticked, as it were.
  • Gleam Is Pragmatic
    8 projects | news.ycombinator.com | 6 Oct 2024
    The two are pretty similar, but I would give F# the nod on this one example because it doesn't actually have to create a list of 200,000 elements.

    [0]: https://gleam.run/

are-we-fast-yet

Posts with mentions or reviews of are-we-fast-yet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-21.
  • Boehm Garbage Collector
    9 projects | news.ycombinator.com | 21 Jan 2024
    > Sure there's a small overhead to smart pointers

    Not so small, and it has the potential to significantly speed down an application when not used wisely. Here are e.g. some measurements where the programmer used C++11 and did everything with smart pointers: https://github.com/smarr/are-we-fast-yet/issues/80#issuecomm.... There was a speed down between factor 2 and 10 compared with the C++98 implementation. Also remember that smart pointers create memory leaks when used with circular references, and there is an additional memory allocation involved with each smart pointer.

    > Garbage collection has an overhead too of course

    The Boehm GC is surprisingly efficient. See e.g. these measurements: https://github.com/rochus-keller/Oberon/blob/master/testcase.... The same benchmark suite as above is compared with different versions of Mono (using the generational GC) and the C code (using Boehm GC) generated with my Oberon compiler. The latter only is 20% slower than the native C++98 version, and still twice as fast as Mono 5.

  • A C++ version of the Are-we-fast-yet benchmark suite
    2 projects | /r/cpp | 26 Jun 2023
    See https://github.com/smarr/are-we-fast-yet/blob/master/docs/guidelines.md.
  • The Bitter Truth: Python 3.11 vs. Cython vs. C++ Performance for Simulations
    1 project | news.ycombinator.com | 24 Dec 2022
    That's a very interesting article, thanks. Interesting to note that Cython is only about twice as fast as Python 3.10 and only about 40% faster than Python 3.11.

    The official Python site advertises a speedup of 25% from 3.10 to 3.11; in the article a speedup of 60% was measured. It therefore usually makes sense to measure different algorithms. Unfortunately there is no Python or C++ implementation yet for https://github.com/smarr/are-we-fast-yet.

  • Comparing Language Implementations with Objects, Closures, and Arrays
    1 project | news.ycombinator.com | 20 Mar 2022
  • Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
    2 projects | /r/programming | 20 Mar 2022
    1 project | /r/SoftwarePerf | 20 Mar 2022
  • .NET 6 vs. .NET 5: up to 40% speedup
    15 projects | news.ycombinator.com | 21 Nov 2021
    > Software benchmarks are super subjective.

    No, they are not, but they are just a measurement tool, not a source of absolute thruth. When I studied engineering at ETH we learned "Who measures measures rubbish!" ("Wer misst misst Mist!" in German). Every measurement has errors and being aware of these errors and coping with it is part of the engineering profession. The problem with programming language benchmarks is often that the goal is to win by all means; to compare as fairly and objectively as possible instead, there must be a set of suitable rules adhered to by all benchmark implementations. Such a set of rules is e.g. given for the Are-we-fast-yet suite (https://github.com/smarr/are-we-fast-yet).

  • Is CoreCLR that much faster than Mono?
    2 projects | news.ycombinator.com | 29 Aug 2021
    I am aware of the various published test results where CoreCLR shows fantastic speed-ups compared to Mono, e.g. when calculating MD5 or SHA hash sums.

    But my measurements based on the Are-we-fast-yet benchmark suite (see https://github.com/smarr/are-we-fast-yet and https://github.com/rochus-keller/Oberon/tree/master/testcases/Are-we-fast-yet) show a completely different picture. Here the difference between Mono and CoreCLR (both versions 3 and 5) is within +/- 10%, so nothing earth shattering.

    Here are my measurement results:

    https://github.com/rochus-keller/Oberon/blob/master/testcases/Are-we-fast-yet/Are-we-fast-yet_results_linux.pdf comparing the same benchmark on the same machine run under LuaJIT, Mono, Node.js and Crystal.

    https://github.com/rochus-keller/Oberon/blob/master/testcases/Are-we-fast-yet/Are-we-fast-yet_results_windows.pdf comparing Mono, .Net 4 and CoreCLR 3 and 5 on the same machine.

    Here are the assemblies of the Are-we-fast-yet benchmark suite used for the measurements, in case you want to reproduce my results: http://software.rochus-keller.ch/Are-we-fast-yet_CLI_2021-08-28.zip.

    I was very surprised by the results. Perhaps it has to do with the fact that I measured on x86, or that the benchmark suite used includes somewhat larger (i.e. more representative) applications than just micro benchmarks.

    What are your opinions? Do others have similar results?

  • Is CoreCLR really that much faster than Mono?
    6 projects | /r/dotnet | 29 Aug 2021
    There is a good reason for this; have a look at e.g. https://github.com/smarr/are-we-fast-yet/blob/master/docs/guidelines.md.
  • Why most programming language performance comparisons are most likely wrong
    1 project | /r/programming | 9 Feb 2021
    Then apparently the SOM nbody program is taken as the basis of a new Java nbody program.

What are some alternatives?

When comparing gleam and are-we-fast-yet you can also consider the following projects:

Rustler - Safe Rust bridge for creating Erlang NIF functions

PyCall.jl - Package to call Python functions from the Julia language

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

machine-learning-with-ruby - Curated list: Resources for machine learning in Ruby

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

Oberon - Oberon parser, code model & browser, compiler and IDE with debugger, and an implementation of the Oberon+ programming language

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

normandy - Channels for CSP style Ruby

otp - 📫 Fault tolerant multicore programs with actors

Smalltalk - Parser, code model, interpreter and navigable browser for the original Xerox Smalltalk-80 v2 sources and virtual image file

borgo - Borgo is a statically typed language that compiles to Go.

fast-ruby - :dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Rust is
the 5th most popular programming language
based on number of references?