C++ vs D vs Elixir

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

C++

16.9K
9.1K
+ 1
845
D

547
130
+ 1
160
Elixir

3.4K
3.2K
+ 1
1.3K
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of C++
Pros of D
Pros of Elixir
  • 202
    Performance
  • 106
    Control over memory allocation
  • 97
    Cross-platform
  • 96
    Fast
  • 84
    Object oriented
  • 57
    Industry standard
  • 47
    Smart pointers
  • 37
    Templates
  • 16
    Gui toolkits
  • 16
    Raii
  • 13
    Generic programming
  • 13
    Control
  • 13
    Flexibility
  • 11
    Metaprogramming
  • 9
    Hardcore
  • 5
    Simple
  • 5
    Full-fledged containers/collections API
  • 5
    Many large libraries
  • 4
    Performant multi-paradigm language
  • 4
    Large number of Libraries
  • 3
    Way too complicated
  • 1
    Close to Reality
  • 1
    Plenty of useful features
  • 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 C++
Cons of D
Cons of Elixir
  • 8
    Slow compilation
  • 8
    Unsafe
  • 6
    Over-complicated
  • 6
    Fragile ABI
  • 5
    No standard/mainstream dependency management
  • 4
    Templates mess with compilation units
  • 3
    Too low level for most tasks
  • 1
    Compile time features are a mess
  • 1
    Template metaprogramming is insane
  • 1
    Segfaults
  • 1
    Unreal engine
    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 -
    - No public GitHub repository available -

    What is C++?

    C++ compiles directly to a machine's native code, allowing it to be one of the fastest languages in the world, if optimized.

    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 C++?
    What companies use D?
    What companies use Elixir?

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

    What tools integrate with C++?
    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

    May 6 2020 at 6:34AM

    Pinterest

    JavaScriptC++Varnish+6
    5
    3365
    Oct 24 2019 at 7:43PM

    AppSignal

    JavaScriptNode.jsJava+8
    5
    954
    GitHubSlackNGINX+15
    28
    20916
    What are some alternatives to C++, D, and Elixir?
    C lang
    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.
    C#
    C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.
    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.
    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