Get Advice Icon

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

Erlang
Erlang

428
364
+ 1
250
HAML
HAML

412
281
+ 1
262
Add tool

Erlang vs HAML: 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, HAML is detailed as "HTML Abstraction Markup Language - A Markup Haiku". Haml is a markup language that鈥檚 used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.

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

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

Erlang and HAML are both open source tools. Erlang with 7.74K GitHub stars and 2.1K forks on GitHub appears to be more popular than HAML with 3.44K GitHub stars and 544 GitHub forks.

Kickstarter, Code School, and StackShare are some of the popular companies that use HAML, whereas Erlang is used by AdRoll, Grooveshark, and Heroku. HAML has a broader approval, being mentioned in 113 company stacks & 40 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 HAML?

Haml is a markup language that鈥檚 used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.
Get Advice Icon

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

Why do developers choose Erlang?
Why do developers choose HAML?

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 HAML?

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

    What tools integrate with Erlang?
    What tools integrate with HAML?

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

    What are some alternatives to Erlang and HAML?
    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.
    Akka
    Akka is a toolkit and runtime for building highly concurrent, distributed, and resilient message-driven applications on the JVM.
    See all alternatives
    Decisions about Erlang and HAML
    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
    Russel Werner
    Russel Werner
    Lead Engineer at StackShare | 11 upvotes 109.6K views
    atStackShareStackShare
    Sass
    Sass
    HAML
    HAML
    React
    React
    Glamorous
    Glamorous
    JavaScript
    JavaScript
    Emotion
    Emotion
    #Inlinecss

    When we rebooted our front-end stack earlier this year, we wanted to have a consolidated and friendly developer experience. Up to that point we were using Sass and BEM. There was a mix of HAML views, React components and Angular. Since our ongoing development was going to be exclusively in React, we wanted to shift to an inline styling library so the "wall of classnames" could be eliminated. The ever-shifting landscape of inline CSS libraries for React is sometimes difficult to navigate.

    We decided to go with Glamorous for a few reasons:

    1) Previous team experience with this library 2) We can write our styles in plain JavaScript (which brings many benefits) 3) It supports server-side rendering 4) It has great composition patterns

    As you may or may not know, Glamorous has ceased active development and been mostly superseded by Emotion. We are planning to migrate to either Emotion or @styled-components in the near future, and I'll write another Stack Decision when we get there!

    #inlinecss

    See more
    Sebastian G臋bski
    Sebastian G臋bski
    CTO at Shedul/Fresha | 7 upvotes 53.7K 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
    Interest over time
    Reviews of Erlang and HAML
    No reviews found
    How developers use Erlang and HAML
    Avatar of StackShare
    StackShare uses HAMLHAML

    Personally, I really like HAML. Not having to use open and close tags is a huge time saver. As a result, writing markup with HAML is much more pleasant. HAML essentially forces you to be very strict about spacing, organization, and structure. It also makes the markup easier to read. Protip: I use this pretty frequently: htmltohaml.com

    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 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 HAML cost?
    Pricing unavailable
    Pricing unavailable
    News about Erlang
    More news
    News about HAML
    More news