Get Advice Icon

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

C
C

2.9K
1.6K
+ 1
183
Erlang
Erlang

415
344
+ 1
250
Add tool

C vs Erlang: What are the differences?

What is C? One of the most widely used programming languages of all time. .

What is Erlang? 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.

C and Erlang belong to "Languages" category of the tech stack.

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

Erlang is an open source tool with 7.74K GitHub stars and 2.1K GitHub forks. Here's a link to Erlang's open source repository on GitHub.

AdRoll, Twitch, and Redis Labs are some of the popular companies that use C, whereas Erlang is used by AdRoll, Grooveshark, and Heroku. C has a broader approval, being mentioned in 64 company stacks & 251 developers stacks; compared to Erlang, which is listed in 70 company stacks and 47 developer stacks.

- No public GitHub repository available -

What is C?

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.
Get Advice Icon

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

Why do developers choose C?
Why do developers choose Erlang?

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

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

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

    What tools integrate with C?
    What tools integrate with Erlang?

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

    What are some alternatives to C and Erlang?
    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!
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    See all alternatives
    Decisions about C and Erlang
    StackShare Editors
    StackShare Editors
    Consul
    Consul
    Elixir
    Elixir
    Erlang
    Erlang

    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鈥檚 KV store, as well as other backends, including ets, Erlang鈥檚 in-memory database.

    See more
    marcoalmeida
    marcoalmeida
    Go
    Go
    C
    C
    Python
    Python
    Rust
    Rust

    One important decision for delivering a platform independent solution with low memory footprint and minimal dependencies was the choice of the programming language. We considered a few from Python (there was already a reasonably large Python code base at Thumbtack), to Go (we were taking our first steps with it), and even Rust (too immature at the time).

    We ended up writing it in C. It was easy to meet all requirements with only one external dependency for implementing the web server, clearly no challenges running it on any of the Linux distributions we were maintaining, and arguably the implementation with the smallest memory footprint given the choices above.

    See more
    Conor Myhrvold
    Conor Myhrvold
    Tech Brand Mgr, Office of CTO at Uber | 8 upvotes 478.7K views
    atUber TechnologiesUber Technologies
    C
    C
    Java
    Java
    JavaScript
    JavaScript

    Why Uber developed H3, our open source grid system to make geospatial data visualization and exploration easier and more efficient:

    We decided to create H3 to combine the benefits of a hexagonal global grid system with a hierarchical indexing system. A global grid system usually requires at least two things: a map projection and a grid laid on top of the map. For map projection, we chose to use gnomonic projections centered on icosahedron faces. This projects from Earth as a sphere to an icosahedron, a twenty-sided platonic solid. The H3 grid is constructed by laying out 122 base cells over the Earth, with ten cells per face. H3 supports sixteen resolutions: https://eng.uber.com/h3/

    (GitHub Pages : https://uber.github.io/h3/#/ Written in C w/ bindings in Java & JavaScript )

    See more
    Sebastian G臋bski
    Sebastian G臋bski
    CTO at Shedul/Fresha | 7 upvotes 43.6K views
    atFresha EngineeringFresha Engineering
    Elixir
    Elixir
    Phoenix Framework
    Phoenix Framework
    Erlang
    Erlang
    Credo
    Credo
    Hex
    Hex
    AppSignal
    AppSignal

    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
    Dan Larsen
    Dan Larsen
    CTO at FlowStack | 7 upvotes 36.7K views
    atFlowStack ApSFlowStack ApS
    Go
    Go
    Rust
    Rust
    C
    C
    C++
    C++

    At FlowStack we write most of our backend in Go. Go is a well thought out language, with all the right compromises for speedy development of speedy and robust software. It's tooling is part of what makes Go such a great language. Testing and benchmarking is built into the language, in a way that makes it easy to ensure correctness and high performance. In most cases you can get more performance out of Rust and C or C++, but getting everything right is more cumbersome.

    See more
    Interest over time
    Reviews of C and Erlang
    No reviews found
    How developers use C and Erlang
    Avatar of papaver
    papaver uses CC

    been programming in c for over a decade, since learning it in college. still use it for various low level projects. used it recently to develop an embedded application for a custom board.

    Avatar of micro systems
    micro systems uses CC

    The core of the arcapos applications is written in C, so are most of the Lua modules (bindings to various hardware or protocols).

    Avatar of Sqreen
    Sqreen uses CC

    The Sqreen PHP agent is both a PHP extension, built in C, and a daemon built in Python.

    Avatar of POROWNEO.PL
    POROWNEO.PL uses CC

    Axis2/c, rampart/c, savan/c, barbershop and custom php extensions.

    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 Vaultize
    Vaultize uses CC

    Used in backend and clients for performance heavy tasks.

    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 C cost?
    How much does Erlang cost?
    Pricing unavailable
    Pricing unavailable
    News about C
    More news
    News about Erlang
    More news