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

D

550
130
+ 1
160
Elixir

3.4K
3.2K
+ 1
1.3K
Add tool

D vs Elixir: What are the differences?

D: Modern convenience. Modeling power. Native efficiency. D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity; Elixir: Dynamic, functional language designed for building scalable and maintainable applications. 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.

D and Elixir belong to "Languages" category of the tech stack.

"Compile-time function execution" is the primary reason why developers consider D over the competitors, whereas "Concurrency" was stated as the key factor in picking Elixir.

Elixir is an open source tool with 15.6K GitHub stars and 2.22K GitHub forks. Here's a link to Elixir's open source repository on GitHub.

According to the StackShare community, Elixir has a broader approval, being mentioned in 177 company stacks & 190 developers stacks; compared to D, which is listed in 6 company stacks and 6 developer stacks.

Decisions about D and Elixir

#rust #elixir So am creating a messenger with voice call capabilities app which the user signs up using phone number and so at first i wanted to use Actix so i learned Rust so i thought to myself because well its first i felt its a bit immature to use actix web even though some companies are using Rust but we cant really say the full potential of Rust in a full scale app for example in Discord both Elixir and Rust are used meaning there is equal need for them but for Elixir so many companies use it from Whatsapp, Wechat, etc and this means something for Rust is not ready to go full scale we cant assume all this possibilities when it come Rust. So i decided to go the Erlang way after alot of Thinking so Do you think i made the right decision?Am 19 year programmer so i assume am not experienced as you so your answer or comment would really valuable to me

See more
Timm Stelzer
VP Of Engineering at Flexperto GmbH · | 18 upvotes · 605.6K views

We have a lot of experience in JavaScript, writing our services in NodeJS allows developers to transition to the back end without any friction, without having to learn a new language. There is also the option to write services in TypeScript, which adds an expressive type layer. The semi-shared ecosystem between front and back end is nice as well, though specifically NodeJS libraries sometimes suffer in quality, compared to other major languages.

As for why we didn't pick the other languages, most of it comes down to "personal preference" and historically grown code bases, but let's do some post-hoc deduction:

Go is a practical choice, reasonably easy to learn, but until we find performance issues with our NodeJS stack, there is simply no reason to switch. The benefits of using NodeJS so far outweigh those of picking Go. This might change in the future.

PHP is a language we're still using in big parts of our system, and are still sometimes writing new code in. Modern PHP has fixed some of its issues, and probably has the fastest development cycle time, but it suffers around modelling complex asynchronous tasks, and (on a personal note) lack of support for writing in a functional style.

We don't use Python, Elixir or Ruby, mostly because of personal preference and for historic reasons.

Rust, though I personally love and use it in my projects, would require us to specifically hire for that, as the learning curve is quite steep. Its web ecosystem is OK by now (see https://www.arewewebyet.org/), but in my opinion, it is still no where near that of the other web languages. In other words, we are not willing to pay the price for playing this innovation card.

Haskell, as with Rust, I personally adore, but is simply too esoteric for us. There are problem domains where it shines, ours is not one of them.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of D
Pros of Elixir
  • 16
    Compile-time function execution
  • 12
    Makes functional programming style easier
  • 12
    Productive
  • 12
    Much easier to do Concurrent/Parallel vs C/C++
  • 11
    Simple but Powerful template-based generics
  • 11
    Powerful static function to avoid macro
  • 10
    Meta program is much easier to read/write vs. C++
  • 9
    It support unittest etc
  • 9
    Assembler is support directly in the language
  • 9
    System program language like C++ and C
  • 9
    Supports code covarge directly in the compiler
  • 7
    Metaprogramming
  • 7
    Supports both manuel memory and garbage collection
  • 6
    Plugs directly into C
  • 6
    Easy to translate from Java and C# to D
  • 5
    Feels and looks like C, so it's easy to learn
  • 4
    Amazing developer productivity
  • 2
    Fast
  • 2
    Performance
  • 1
    Syntax uniformity across pre-compile/compile/runtime
  • 172
    Concurrency
  • 161
    Functional
  • 133
    Erlang vm
  • 112
    Great documentation
  • 105
    Great tooling
  • 86
    Immutable data structures
  • 81
    Open source
  • 77
    Pattern-matching
  • 62
    Easy to get started
  • 59
    Actor library
  • 32
    Functional with a neat syntax
  • 29
    Ruby inspired
  • 25
    Erlang evolved
  • 24
    Homoiconic
  • 22
    Beauty of Ruby, Speed of Erlang/C
  • 17
    Fault Tolerant
  • 14
    Simple
  • 13
    High Performance
  • 11
    Pipe Operator
  • 11
    Good lang
  • 11
    Doc as first class citizen
  • 9
    Stinkin' fast, no memory leaks, easy on the eyes
  • 9
    Fun to write
  • 8
    Resilient to failure
  • 8
    OTP
  • 6
    GenServer takes the guesswork out of background work
  • 4
    Not Swift
  • 4
    Pattern matching
  • 4
    Idempotence
  • 4
    Fast, Concurrent with clean error messages
  • 3
    Easy to use
  • 2
    Dynamic Typing
  • 2
    Error isolation

Sign up to add or upvote prosMake informed product decisions

Cons of D
Cons of Elixir
    Be the first to leave a con
    • 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

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is D?

    D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.

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

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

    What companies use D?
    What companies use Elixir?
    See which teams inside your own company are using D or Elixir.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with D?
    What tools integrate with Elixir?

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

    Blog Posts

    Oct 24 2019 at 7:43PM

    AppSignal

    JavaScriptNode.jsJava+8
    5
    955
    What are some alternatives to D and Elixir?
    D3.js
    It is a JavaScript library for manipulating documents based on data. Emphasises on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework.
    Pathfinder
    Pathfinder is a new real-time routing service in public beta. Pathfinder calculates routes for transportation services. These routes are updated in real time as users make transportation or delivery requests. Through our SDKs, applications can subscribe to routes as they change in response to user requests.
    C lang
    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.
    See all alternatives