Get Advice Icon

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

Erlang

1.3K
749
+ 1
345
GNU Bash

1.4K
717
+ 1
8
Add tool

Erlang vs GNU Bash: 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, GNU Bash is detailed as "Functional improvements over sh for both programming and interactive use". The Bourne Again SHell is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

Erlang and GNU Bash are primarily classified as "Languages" and "Shells" tools respectively.

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

WhatsApp, Heroku, and thoughtbot are some of the popular companies that use Erlang, whereas GNU Bash is used by AgFlow, Clippings, and Lithium Technologies. Erlang has a broader approval, being mentioned in 70 company stacks & 47 developers stacks; compared to GNU Bash, which is listed in 40 company stacks and 73 developer stacks.

Decisions about Erlang and GNU Bash
Justin Dorfman
Open Source Program Manager at Reblaze · | 1 upvote · 92K views

If you have a file (demo.txt) that has 3 columns:

Column-1    Column-2    Column-3
Row-1a      Row-2a      Row-3a         
Row-1b      Row-2b      Row-3b
Row-1c      Row-2c      Row-3c
Row-1d      Row-2d      Row-3d
Row-1e      Row-2e      Row-3e

and you want to only view the first column of the file in your CLI, run the following:

awk {'print $1'} demo.txt

Column-1
Row-1a
Row-1b
Row-1c
Row-1d
Row-1e

If you want to print the second column of demo.txt, just replace $1 with $2

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Erlang
Pros of GNU Bash
  • 62
    Real time, distributed applications
  • 62
    Concurrency Support
  • 58
    Fault tolerance
  • 36
    Soft real-time
  • 32
    Open source
  • 22
    Message passing
  • 22
    Functional programming
  • 16
    Immutable data
  • 14
    Works as expected
  • 6
    Facebook chat uses it at backend
  • 5
    Practical
  • 5
    Knowledgeable community
  • 4
    Bullets included
  • 1
    WhatsApp uses it at backend
  • 3
    Customizable
  • 3
    Powerful scripting language
  • 2
    Widely adopted
  • 0
    Cross platform

Sign up to add or upvote prosMake informed product decisions

Cons of Erlang
Cons of GNU Bash
  • 1
    Languange is not popular demand
  • 1
    Too Slow

Sign up to add or upvote consMake informed product decisions

2K
2.8K
9.7K
14.3K
- No public GitHub repository available -

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 GNU Bash?

The Bourne Again SHell is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.

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

What companies use Erlang?
What companies use GNU Bash?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Erlang?
What tools integrate with GNU Bash?

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

What are some alternatives to Erlang and GNU Bash?
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
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
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