Alternatives to Erlang logo

Alternatives to Erlang

Elixir, Haskell, Golang, Clojure, and Akka are the most popular alternatives and competitors to Erlang.
833
703
+ 1
327

What is Erlang and what are its top alternatives?

Some of Erlang's uses are in telecoms, banking, e-commerce, computer telephony and instant messaging. Erlang's runtime system has built-in support for concurrency, distribution and fault tolerance. OTP is set of Erlang libraries and design principles providing middle-ware to develop these systems.
Erlang is a tool in the Languages category of a tech stack.
Erlang is an open source tool with 10.1K GitHub stars and 2.8K GitHub forks. Here’s a link to Erlang's open source repository on GitHub

Top Alternatives to Erlang

  • Elixir
    Elixir

    Elixir leverages the Erlang VM, known for running low-latency, distributed and fault-tolerant systems, while also being successfully used in web development and the embedded software domain. ...

  • Haskell
    Haskell

    It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability. ...

  • Golang
    Golang

    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language. ...

  • Clojure
    Clojure

    Clojure is designed to be a general-purpose language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming. Clojure is a compiled language - it compiles directly to JVM bytecode, yet remains completely dynamic. Clojure is a dialect of Lisp, and shares with Lisp the code-as-data philosophy and a powerful macro system. ...

  • Akka
    Akka

    Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM. ...

  • OCaml
    OCaml

    It is an industrial strength programming language supporting functional, imperative and object-oriented styles. It is the technology of choice in companies where a single mistake can cost millions and speed matters, ...

  • Rust
    Rust

    Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory. ...

  • Java
    Java

    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere! ...

Erlang alternatives & related posts

Elixir logo

Elixir

3K
3K
1.3K
Dynamic, functional language designed for building scalable and maintainable applications
3K
3K
+ 1
1.3K
PROS OF ELIXIR
  • 171
    Concurrency
  • 158
    Functional
  • 132
    Erlang vm
  • 111
    Great documentation
  • 104
    Great tooling
  • 84
    Immutable data structures
  • 79
    Open source
  • 76
    Pattern-matching
  • 61
    Easy to get started
  • 58
    Actor library
  • 29
    Functional with a neat syntax
  • 28
    Ruby inspired
  • 24
    Homoiconic
  • 23
    Erlang evolved
  • 21
    Beauty of Ruby, Speed of Erlang/C
  • 17
    Fault Tolerant
  • 13
    Simple
  • 13
    High Performance
  • 10
    Good lang
  • 9
    Stinkin' fast, no memory leaks, easy on the eyes
  • 9
    Pipe Operator
  • 9
    Doc as first class citizen
  • 7
    Fun to write
  • 7
    Resilient to failure
  • 6
    OTP
  • 5
    GenServer takes the guesswork out of background work
  • 4
    Pattern matching
  • 4
    Idempotence
  • 4
    Fast, Concurrent with clean error messages
  • 4
    Not Swift
  • 2
    Error isolation
  • 1
    Dynamic Typing
  • 1
    Easy to use
CONS OF ELIXIR
  • 11
    Fewer jobs for Elixir experts
  • 7
    Smaller userbase than other mainstream languages
  • 5
    Elixir's dot notation less readable ("object": 1st arg)
  • 4
    Dynamic typing
  • 1
    Difficult to understand
  • 1
    Not a lot of learning books available

related Elixir posts

Kamil Kowalski
Lead Architect at Fresha · | 28 upvotes · 1.7M views

When you think about test automation, it’s crucial to make it everyone’s responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

See more
Sebastian Gębski

Another major decision was to adopt Elixir and Phoenix Framework - the DX (Developer eXperience) is pretty similar to what we know from RoR, but this tech is running on the top of rock-solid Erlang platform which is powering planet-scale telecom solutions for 20+ years. So we're getting pretty much the best from both worlds: minimum friction & smart conventions that eliminate the excessive boilerplate AND highly concurrent EVM (Erlang's Virtual Machine) that makes all the scalability problems vanish. The transition was very smooth - none of Ruby developers we had decided to leave because of Elixir. What is more, we kept recruiting Ruby developers w/o any requirement regarding Elixir proficiency & we still were able to educate them internally in almost no time. Obviously Elixir comes with some more tools in the stack: Credo , Hex , AppSignal (required to properly monitor BEAM apps).

See more
Haskell logo

Haskell

1.1K
1.2K
506
An advanced purely-functional programming language
1.1K
1.2K
+ 1
506
PROS OF HASKELL
  • 89
    Purely-functional programming
  • 66
    Statically typed
  • 59
    Type-safe
  • 39
    Open source
  • 38
    Great community
  • 30
    Built-in concurrency
  • 29
    Composable
  • 29
    Built-in parallelism
  • 23
    Referentially transparent
  • 19
    Generics
  • 14
    Intellectual satisfaction
  • 14
    Type inference
  • 11
    If it compiles, it's correct
  • 7
    Flexible
  • 7
    Monads
  • 4
    Proposition testing with QuickCheck
  • 4
    Great type system
  • 3
    Purely-functional Programming
  • 3
    One of the most powerful languages *(see blub paradox)*
  • 2
    Highly expressive, type-safe, fast development time
  • 2
    Reliable
  • 2
    Kind system
  • 2
    Pattern matching and completeness checking
  • 2
    Better type-safe than sorry
  • 2
    Type classes
  • 2
    Great maintainability of the code
  • 2
    Fun
  • 2
    Best in class thinking tool
  • 0
    Orthogonality
  • 0
    Predictable
CONS OF HASKELL
  • 8
    Error messages can be very confusing
  • 8
    Too much distraction in language extensions
  • 4
    Libraries have poor documentation
  • 3
    No best practices
  • 3
    No good ABI
  • 2
    Sometimes performance is unpredictable
  • 2
    Poor packaging for apps written in it for Linux distros
  • 1
    Slow compilation

related Haskell posts

Vadim Bakaev
Shared insights
on
HaskellHaskellScalaScala

Why I am using Haskell in my free time?

I have 3 reasons for it. I am looking for:

Fun.

Improve functional programming skill.

Improve problem-solving skill.

Laziness and mathematical abstractions behind Haskell makes it a wonderful language.

It is Pure functional, it helps me to write better Scala code.

Highly expressive language gives elegant ways to solve coding puzzle.

See more
Golang logo

Golang

16.1K
12.9K
3.2K
An open source programming language that makes it easy to build simple, reliable, and efficient software
16.1K
12.9K
+ 1
3.2K
PROS OF GOLANG
  • 534
    High-performance
  • 389
    Simple, minimal syntax
  • 356
    Fun to write
  • 297
    Easy concurrency support via goroutines
  • 269
    Fast compilation times
  • 191
    Goroutines
  • 178
    Statically linked binaries that are simple to deploy
  • 149
    Simple compile build/run procedures
  • 135
    Backed by google
  • 132
    Great community
  • 51
    Garbage collection built-in
  • 43
    Built-in Testing
  • 42
    Excellent tools - gofmt, godoc etc
  • 38
    Elegant and concise like Python, fast like C
  • 35
    Awesome to Develop
  • 25
    Used for Docker
  • 24
    Flexible interface system
  • 22
    Deploy as executable
  • 22
    Great concurrency pattern
  • 19
    Open-source Integration
  • 16
    Fun to write and so many feature out of the box
  • 15
    Easy to read
  • 15
    Go is God
  • 14
    Its Simple and Heavy duty
  • 13
    Powerful and simple
  • 13
    Easy to deploy
  • 12
    Best language for concurrency
  • 11
    Concurrency
  • 10
    Safe GOTOs
  • 10
    Rich standard library
  • 9
    Clean code, high performance
  • 9
    Easy setup
  • 8
    High performance
  • 8
    Hassle free deployment
  • 8
    Simplicity, Concurrency, Performance
  • 7
    Used by Giants of the industry
  • 7
    Single binary avoids library dependency issues
  • 6
    Cross compiling
  • 6
    Simple, powerful, and great performance
  • 5
    Gofmt
  • 5
    Garbage Collection
  • 5
    Very sophisticated syntax
  • 5
    Excellent tooling
  • 5
    WYSIWYG
  • 4
    Keep it simple and stupid
  • 4
    Widely used
  • 4
    Kubernetes written on Go
  • 2
    No generics
  • 1
    Operator goto
CONS OF GOLANG
  • 41
    You waste time in plumbing code catching errors
  • 25
    Verbose
  • 23
    Packages and their path dependencies are braindead
  • 15
    Dependency management when working on multiple projects
  • 15
    Google's documentations aren't beginer friendly
  • 10
    Automatic garbage collection overheads
  • 8
    Uncommon syntax
  • 6
    Type system is lacking (no generics, etc)
  • 3
    Collection framework is lacking (list, set, map)
  • 2
    Best programming language

related Golang posts

Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 41 upvotes · 5.5M views

How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

https://eng.uber.com/distributed-tracing/

(GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

See more
Nick Parsons
Building cool things on the internet 🛠️ at Stream · | 35 upvotes · 1.8M views

Winds 2.0 is an open source Podcast/RSS reader developed by Stream with a core goal to enable a wide range of developers to contribute.

We chose JavaScript because nearly every developer knows or can, at the very least, read JavaScript. With ES6 and Node.js v10.x.x, it’s become a very capable language. Async/Await is powerful and easy to use (Async/Await vs Promises). Babel allows us to experiment with next-generation JavaScript (features that are not in the official JavaScript spec yet). Yarn allows us to consistently install packages quickly (and is filled with tons of new tricks)

We’re using JavaScript for everything – both front and backend. Most of our team is experienced with Go and Python, so Node was not an obvious choice for this app.

Sure... there will be haters who refuse to acknowledge that there is anything remotely positive about JavaScript (there are even rants on Hacker News about Node.js); however, without writing completely in JavaScript, we would not have seen the results we did.

#FrameworksFullStack #Languages

See more
Clojure logo

Clojure

1.4K
1.3K
1.1K
A dynamic programming language that targets the Java Virtual Machine
1.4K
1.3K
+ 1
1.1K
PROS OF CLOJURE
  • 118
    It is a lisp
  • 101
    Persistent data structures
  • 100
    Concise syntax
  • 89
    jvm-based language
  • 88
    Concurrency
  • 82
    Interactive repl
  • 76
    Code is data
  • 61
    Open source
  • 60
    Lazy data structures
  • 55
    Macros
  • 48
    Functional
  • 22
    Simplistic
  • 21
    Immutable by default
  • 19
    Excellent collections
  • 18
    Fast-growing community
  • 14
    Simple (not easy!)
  • 14
    Multiple host languages
  • 14
    Practical Lisp
  • 9
    Because it's really fun to use
  • 9
    Community
  • 9
    Addictive
  • 8
    It creates Reusable code
  • 8
    Web friendly
  • 8
    Rapid development
  • 7
    Minimalist
  • 5
    Programmable programming language
  • 5
    Java interop
  • 4
    Regained interest in programming
  • 3
    EDN
  • 3
    Compiles to JavaScript
  • 2
    Share a lot of code with clojurescript/use on frontend
CONS OF CLOJURE
  • 9
    Cryptic stacktraces
  • 4
    Need to wrap basically every java lib
  • 4
    Toxic community
  • 3
    Good code heavily relies on local conventions
  • 2
    Slow application startup
  • 2
    Tonns of abandonware
  • 1
    Usable only with REPL
  • 1
    Hiring issues
  • 1
    Bad documented libs
  • 1
    Macros are overused by devs
  • 1
    Tricky profiling
  • 1
    IDE with high learning curve
  • 1
    Configuration bolierplate
  • 1
    Conservative community
  • 0
    Have no good and fast fmt

related Clojure posts

Stitch is run entirely on AWS. All of our transactional databases are run with Amazon RDS, and we rely on Amazon S3 for data persistence in various stages of our pipeline. Our product integrates with Amazon Redshift as a data destination, and we also use Redshift as an internal data warehouse (powered by Stitch, of course).

The majority of our services run on stateless Amazon EC2 instances that are managed by AWS OpsWorks. We recently introduced Kubernetes into our infrastructure to run the scheduled jobs that execute Singer code to extract data from various sources. Although we tend to be wary of shiny new toys, Kubernetes has proven to be a good fit for this problem, and its stability, strong community and helpful tooling have made it easy for us to incorporate into our operations.

While we continue to be happy with Clojure for our internal services, we felt that its relatively narrow adoption could impede Singer's growth. We chose Python both because it is well suited to the task, and it seems to have reached critical mass among data engineers. All that being said, the Singer spec is language agnostic, and integrations and libraries have been developed in JavaScript, Go, and Clojure.

See more

I adopted Clojure and ClojureScript because:

  • it's 1 language, multiple platforms.
  • Simple syntax.
  • Designed to avoid unwanted side effects and bugs.
  • Immutable data-structures.
  • Compact code, very expressive.
  • Source code is data.
  • It has super-flexible macro.
  • Has metadata.
  • Interoperability with JavaScript, Java and C#.
See more
Akka logo

Akka

950
942
88
Build powerful concurrent & distributed applications more easily
950
942
+ 1
88
PROS OF AKKA
  • 32
    Great concurrency model
  • 17
    Fast
  • 12
    Actor Library
  • 10
    Open source
  • 7
    Resilient
  • 5
    Scalable
  • 5
    Message driven
CONS OF AKKA
  • 3
    Mixing futures with Akka tell is difficult
  • 2
    Closing of futures
  • 2
    No type safety
  • 1
    Very difficult to refactor
  • 1
    Typed actors still not stable

related Akka posts

To solve the problem of scheduling and executing arbitrary tasks in its distributed infrastructure, PagerDuty created an open-source tool called Scheduler. Scheduler is written in Scala and uses Cassandra for task persistence. It also adds Apache Kafka to handle task queuing and partitioning, with Akka to structure the library’s concurrency.

The service’s logic schedules a task by passing it to the Scheduler’s Scala API, which serializes the task metadata and enqueues it into Kafka. Scheduler then consumes the tasks, and posts them to Cassandra to prevent data loss.

See more
Shared insights
on
AkkaAkkaKafkaKafka

I decided to use Akka instead of Kafka streams because I have personal relationships at @Lightbend.

See more
OCaml logo

OCaml

166
147
21
A general purpose industrial-strength programming language
166
147
+ 1
21
PROS OF OCAML
  • 5
    Satisfying to write
  • 4
    Pattern matching
  • 3
    Also has OOP
  • 3
    Easy syntax
  • 3
    Very practical
  • 3
    Extremely powerful type inference
CONS OF OCAML
  • 3
    Small community
  • 1
    Royal pain in the neck to compile large programs

related OCaml posts

Rust logo

Rust

3.6K
4.1K
1.2K
A safe, concurrent, practical language
3.6K
4.1K
+ 1
1.2K
PROS OF RUST
  • 138
    Guaranteed memory safety
  • 125
    Fast
  • 83
    Open source
  • 75
    Minimal runtime
  • 69
    Pattern matching
  • 61
    Type inference
  • 55
    Concurrent
  • 55
    Algebraic data types
  • 45
    Efficient C bindings
  • 43
    Practical
  • 36
    Best advances in languages in 20 years
  • 29
    Fix for C/C++
  • 29
    Safe, fast, easy + friendly community
  • 23
    Stablity
  • 22
    Zero-cost abstractions
  • 22
    Closures
  • 19
    Extensive compiler checks
  • 18
    Great community
  • 16
    No NULL type
  • 14
    Completely cross platform: Windows, Linux, Android
  • 14
    Async/await
  • 13
    No Garbage Collection
  • 12
    Great documentations
  • 12
    High-performance
  • 11
    High performance
  • 11
    Super fast
  • 10
    Safety no runtime crashes
  • 10
    Fearless concurrency
  • 10
    Generics
  • 10
    Guaranteed thread data race safety
  • 9
    Compiler can generate Webassembly
  • 9
    Helpful compiler
  • 8
    Macros
  • 8
    Prevents data races
  • 8
    Easy Deployment
  • 7
    Painless dependency management
  • 7
    RLS provides great IDE support
  • 6
    Real multithreading
  • 4
    Good package management
  • 4
    Support on Other Languages
CONS OF RUST
  • 26
    Hard to learn
  • 23
    Ownership learning curve
  • 11
    Unfriendly, verbose syntax
  • 4
    Variable shadowing
  • 4
    High size of builded executable
  • 4
    Many type operations make it difficult to follow
  • 3
    No jobs

related Rust posts

Caue Carvalho
Shared insights
on
RustRustGolangGolangPythonPythonRubyRubyC#C#

Hello!

I'm a developer for over 9 years, and most of this time I've been working with C# and it is paying my bills until nowadays. But I'm seeking to learn other languages and expand the possibilities for the next years.

Now the question... I know Ruby is far from dead but is it still worth investing time in learning it? Or would be better to take Python, Golang, or even Rust? Or maybe another language.

Thanks in advance.

See more
James Cunningham
Operations Engineer at Sentry · | 18 upvotes · 134.8K views
Shared insights
on
PythonPythonRustRust
at

Sentry's event processing pipeline, which is responsible for handling all of the ingested event data that makes it through to our offline task processing, is written primarily in Python.

For particularly intense code paths, like our source map processing pipeline, we have begun re-writing those bits in Rust. Rust’s lack of garbage collection makes it a particularly convenient language for embedding in Python. It allows us to easily build a Python extension where all memory is managed from the Python side (if the Python wrapper gets collected by the Python GC we clean up the Rust object as well).

See more
Java logo

Java

110.9K
85.9K
3.7K
A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
110.9K
85.9K
+ 1
3.7K
PROS OF JAVA
  • 592
    Great libraries
  • 444
    Widely used
  • 400
    Excellent tooling
  • 389
    Huge amount of documentation available
  • 332
    Large pool of developers available
  • 204
    Open source
  • 201
    Excellent performance
  • 155
    Great development
  • 149
    Vast array of 3rd party libraries
  • 148
    Used for android
  • 60
    Compiled Language
  • 50
    Used for Web
  • 46
    Managed memory
  • 45
    High Performance
  • 44
    Native threads
  • 43
    Statically typed
  • 35
    Easy to read
  • 33
    Great Community
  • 29
    Reliable platform
  • 24
    Sturdy garbage collection
  • 24
    JVM compatibility
  • 21
    Cross Platform Enterprise Integration
  • 20
    Good amount of APIs
  • 20
    Universal platform
  • 18
    Great Support
  • 14
    Great ecosystem
  • 11
    Backward compatible
  • 11
    Lots of boilerplate
  • 10
    Everywhere
  • 9
    Excellent SDK - JDK
  • 7
    Static typing
  • 7
    It's Java
  • 6
    Mature language thus stable systems
  • 6
    Better than Ruby
  • 6
    Long term language
  • 6
    Cross-platform
  • 6
    Portability
  • 5
    Clojure
  • 5
    Vast Collections Library
  • 5
    Used for Android development
  • 4
    Most developers favorite
  • 4
    Old tech
  • 3
    Javadoc
  • 3
    Stable platform, which many new languages depend on
  • 3
    History
  • 3
    Testable
  • 3
    Best martial for design
  • 3
    Great Structure
  • 2
    Faster than python
  • 2
    Type Safe
CONS OF JAVA
  • 32
    Verbosity
  • 27
    NullpointerException
  • 16
    Nightmare to Write
  • 16
    Overcomplexity is praised in community culture
  • 12
    Boiler plate code
  • 8
    Classpath hell prior to Java 9
  • 6
    No REPL
  • 4
    No property
  • 3
    Code are too long
  • 2
    Non-intuitive generic implementation
  • 2
    There is not optional parameter
  • 2
    Floating-point errors
  • 1
    Terrbible compared to Python/Batch Perormence
  • 1
    Java's too statically, stronglly, and strictly typed
  • 1
    Returning Wildcard Types

related Java posts

Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 41 upvotes · 5.5M views

How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

https://eng.uber.com/distributed-tracing/

(GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

See more
Kamil Kowalski
Lead Architect at Fresha · | 28 upvotes · 1.7M views

When you think about test automation, it’s crucial to make it everyone’s responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

See more