Software Alternatives & Reviews

Erlang VS OCaml

Compare Erlang VS OCaml and see what are their differences

Erlang logo Erlang

A programming language used to build massively scalable soft real-time systems with requirements on high availability

OCaml logo OCaml

(* Binary tree with leaves carrying an integer.
  • Erlang Landing page
    Landing page //
    2023-05-09

We recommend LibHunt Erlang for discovery and comparisons of trending Erlang projects.

  • OCaml Landing page
    Landing page //
    2023-10-03

We recommend LibHunt OCaml for discovery and comparisons of trending OCaml projects.

Erlang videos

Book Review - Erlang in Anger

More videos:

  • Review - Erlang is getting pretty! - Michal Muskala | Code BEAM SF 20

OCaml videos

Uncommon Languages: OCaml

More videos:

  • Review - What is Ocaml?
  • Review - OCaml – The Best Coding Language for Blockchain – Dr. Dray at Tezos LA

Category Popularity

0-100% (relative to Erlang and OCaml)
Programming Language
38 38%
62% 62
OOP
42 42%
58% 58
Development
100 100%
0% 0
Generic Programming Language

User comments

Share your experience with using Erlang and OCaml. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, OCaml seems to be a lot more popular than Erlang. While we know about 30 links to OCaml, we've tracked only 2 mentions of Erlang. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Erlang mentions (2)

  • Perfect Elixir: Environment Setup
    I’m on MacOS and erlang.org, elixir-lang.org, and postgresql.org all suggest installation via Homebrew, which is a very popular package manager for MacOS. - Source: dev.to / about 1 month ago
  • What is Calypso?
    However, as Elixir is inherently tied to the BEAM and Erlang/OTP, it means that it has features like immutable variables (though you can rebind them and have state via process loops, e.g. Agents or GenServers). This also means that OTP is the main "application framework" for Elixir/Erlang. In my opinion, OTP is a pretty good design philosophy for applications, but sometimes it's just kind of hard to set up or wrap... - Source: dev.to / about 3 years ago

OCaml mentions (30)

  • Bringing more sweetness to ruby with sorbet types 🍦
    If you have been in the Ruby community for the past couple of years, it's possible that you're not a super fan of types or that this concept never passed through your mind, and that's totally cool. I myself love the dynamic and meta-programming nature of Ruby, and honestly, by the time of this article's writing, we aren't on the level of OCaml for type checking and inference, but still, there are a couple of nice... - Source: dev.to / 8 months ago
  • Notes about the ongoing Perl logo discussion
    An amazing example is Ocaml lang logo / mascot. It might be useful to talk with them to know what was the process behind this work. The About page camel head on Perl dot org header is also a pretty good example of simplification, but it's not a logo, just a friendly illustration, as the O'Reilly camel is. Another notable logo for this animal is the well known tobacco industry company, but don't get me started on... - Source: dev.to / 10 months ago
  • What can Category Theory do?
    Haskell and Agda are probably the most obvious examples. Ocaml too, but it is much older, so its type system is not as categorical. There is also Idris, which is not as well-known but is very cool. Source: 10 months ago
  • Key takeways from OpenAI CEO's 3-hour Senate testimony, where he called for AI models to be licensed by US govt. Full breakdown inside.
    NEAT is a fascinating algorithm. I've been interested in it ever since SethBling made a video about it playing Mario and this series of experiments about a variant of NEAT that evolves in real-time rather than by-generation. I'm finally getting to be just good enough of a programmer that I am actually considering writing my own (probably in OCaml because there's an unfortunate lack of NEAT implementations in... Source: 12 months ago
  • So Hows the Hackathon Going?
    Easier than haskell and easier for writing compilers: https://ocaml.org/. Source: 12 months ago
View more

What are some alternatives?

When comparing Erlang and OCaml, you can also consider the following products

Elixir - Dynamic, functional language designed for building scalable and maintainable applications

Rust - A safe, concurrent, practical language

Perl - Highly capable, feature-rich programming language with over 26 years of development

Clojure - Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.

Go.CD - Open source continuous delivery tool allows for advanced workflow modeling and dependencies management.

C++ - Has imperative, object-oriented and generic programming features, while also providing the facilities for low level memory manipulation