Erlang vs Kotlin

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Erlang
Erlang

412
343
+ 1
250
Kotlin
Kotlin

1.8K
1.2K
+ 1
256
Add tool

Erlang vs Kotlin: What are the differences?

Developers describe Erlang as "A programming language used to build massively scalable soft real-time systems with requirements on high availability". 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. On the other hand, Kotlin is detailed as "Statically typed Programming Language targeting JVM and JavaScript". Kotlin is a statically typed programming language for the JVM, Android and the browser, 100% interoperable with Java.

Erlang and Kotlin can be primarily classified as "Languages" tools.

"Real time, distributed applications" is the primary reason why developers consider Erlang over the competitors, whereas "Interoperable with Java" was stated as the key factor in picking Kotlin.

Erlang and Kotlin are both open source tools. It seems that Kotlin with 28.3K GitHub stars and 3.28K forks on GitHub has more adoption than Erlang with 7.74K GitHub stars and 2.1K GitHub forks.

According to the StackShare community, Kotlin has a broader approval, being mentioned in 268 company stacks & 208 developers stacks; compared to Erlang, which is listed in 70 company stacks and 47 developer stacks.

What is Erlang?

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.

What is Kotlin?

Kotlin is a statically typed programming language for the JVM, Android and the browser, 100% interoperable with Java
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Erlang?
Why do developers choose Kotlin?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Erlang?
    What companies use Kotlin?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Erlang?
    What tools integrate with Kotlin?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Erlang and Kotlin?
    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
    Go
    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 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.
    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,
    See all alternatives
    Decisions about Erlang and Kotlin
    StackShare Editors
    StackShare Editors
    Erlang
    Erlang
    Elixir
    Elixir
    Consul
    Consul

    Postmates built a tool called Bazaar that helps onboard new partners and handles several routine tasks, like nightly emails to merchants alerting them about items that are out of stock.

    Since they ran Bazaar across multiple instances, the team needed to avoid sending multiple emails to their partners by obtaining lock across multiple hosts. To solve their challenge, they created and open sourced ConsulMutEx, and an Elixir module for acquiring and releasing locks with Consul and other backends.

    It works with Consul’s KV store, as well as other backends, including ets, Erlang’s in-memory database.

    See more
    StackShare Editors
    StackShare Editors
    Kotlin
    Kotlin
    gRPC
    gRPC
    Go
    Go
    Ruby
    Ruby

    As the WeWork footprint continued to expand, in mid-2018 the team began to explore the next generation of identity management to handle the global scale of the business.

    The team decided to vet three languages for building microservices: Go, Kotlin, and Ruby. They compared the three by building a component of an identity system in each, and assessing the performance apples-to-apples.

    After building out the systems and load testing each one, the team decided to implement the new system in Go for a few reasons. In addition to better performance under heavy loads, Go, according to the team, is a simpler language that will constrain developers to simpler code. Additionally, the development lifecycle is simpler with Go, since “there is little difference between running a service directly on a dev machine, to running it in a container, to running clustered instances of the service.”

    In the implementation, they the Go grpc framework to handle various common infrastructure patterns, resulting in “in a clean common server pattern that we can reuse across our microservices.”

    See more
    StackShare Editors
    StackShare Editors
    Apache Thrift
    Apache Thrift
    Kotlin
    Kotlin
    Presto
    Presto
    HHVM (HipHop Virtual Machine)
    HHVM (HipHop Virtual Machine)
    gRPC
    gRPC
    Kubernetes
    Kubernetes
    Apache Spark
    Apache Spark
    Airflow
    Airflow
    Terraform
    Terraform
    Hadoop
    Hadoop
    Swift
    Swift
    Hack
    Hack
    Memcached
    Memcached
    Consul
    Consul
    Chef
    Chef
    Prometheus
    Prometheus

    Since the beginning, Cal Henderson has been the CTO of Slack. Earlier this year, he commented on a Quora question summarizing their current stack.

    Apps
    • Web: a mix of JavaScript/ES6 and React.
    • Desktop: And Electron to ship it as a desktop application.
    • Android: a mix of Java and Kotlin.
    • iOS: written in a mix of Objective C and Swift.
    Backend
    • The core application and the API written in PHP/Hack that runs on HHVM.
    • The data is stored in MySQL using Vitess.
    • Caching is done using Memcached and MCRouter.
    • The search service takes help from SolrCloud, with various Java services.
    • The messaging system uses WebSockets with many services in Java and Go.
    • Load balancing is done using HAproxy with Consul for configuration.
    • Most services talk to each other over gRPC,
    • Some Thrift and JSON-over-HTTP
    • Voice and video calling service was built in Elixir.
    Data warehouse
    • Built using open source tools including Presto, Spark, Airflow, Hadoop and Kafka.
    Etc
    See more
    Sebastian Gębski
    Sebastian Gębski
    CTO at Shedul/Fresha · | 7 upvotes · 38.6K views
    atFresha EngineeringFresha Engineering
    AppSignal
    AppSignal
    Hex
    Hex
    Credo
    Credo
    Erlang
    Erlang
    Phoenix Framework
    Phoenix Framework
    Elixir
    Elixir

    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
    Interest over time
    Reviews of Erlang and Kotlin
    No reviews found
    How developers use Erlang and Kotlin
    Avatar of Philtard
    Philtard uses KotlinKotlin

    Even though still a young language, it feels so at home sitting in the springboot frame and works with vaadin just great. And in itself it has like all the best parts of java, scala, python mixed into one.

    Avatar of fileee GmbH
    fileee GmbH uses KotlinKotlin

    We use Kotlin both in our Android App and increasingly in our polyglot backend services.

    Avatar of claudiofus
    claudiofus uses KotlinKotlin

    Statically typed programming language for modern multiplatform applications.

    Avatar of Cirrus Labs
    Cirrus Labs uses KotlinKotlin

    All 20+ micro-services that power Cirrus CI are written in Kotlin.

    Avatar of Analytical Informatics
    Analytical Informatics uses ErlangErlang

    The central business logic and ETL engine is written in Erlang.

    Avatar of Mathias Vonende
    Mathias Vonende uses ErlangErlang

    Very nice programming language, used for backend integration.

    Avatar of movix
    movix uses KotlinKotlin

    Unit tests, backend with Spring Boot

    Avatar of Ryan Jennings
    Ryan Jennings uses ErlangErlang

    foundation VM for phoenix framework

    Avatar of Software Joint
    Software Joint uses ErlangErlang

    Cowboy web server serves content

    Avatar of KongHack Inc.
    KongHack Inc. uses ErlangErlang

    Custom plugins for ejabberd

    How much does Erlang cost?
    How much does Kotlin cost?
    Pricing unavailable
    Pricing unavailable
    News about Erlang
    More news