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

D

577
135
+ 1
160
MATLAB

1.1K
698
+ 1
37
Add tool

D vs MATLAB: What are the differences?

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

What is MATLAB? A high-level language and interactive environment for numerical computation, visualization, and programming. Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.

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

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

Empatica, Wham City Lights, and Walter are some of the popular companies that use MATLAB, whereas D is used by AdRoll, Stockopedia, and 9Labs. MATLAB has a broader approval, being mentioned in 12 company stacks & 23 developers stacks; compared to D, which is listed in 6 company stacks and 6 developer stacks.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of D
Pros of MATLAB
  • 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
  • 20
    Simulink
  • 5
    Model based software development
  • 5
    Functions, statements, plots, directory navigation easy
  • 3
    S-Functions
  • 2
    REPL
  • 1
    Simple variabel control
  • 1
    Solve invertible matrix

Sign up to add or upvote prosMake informed product decisions

Cons of D
Cons of MATLAB
    Be the first to leave a con
    • 2
      Parameter-value pairs syntax to pass arguments clunky
    • 2
      Doesn't allow unpacking tuples/arguments lists with *
    • 2
      Does not support named function arguments

    Sign up to add or upvote consMake informed product decisions

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

    Using MATLAB, you can analyze data, develop algorithms, and create models and applications. The language, tools, and built-in math functions enable you to explore multiple approaches and reach a solution faster than with spreadsheets or traditional programming languages, such as C/C++ or Java.

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

    What companies use D?
    What companies use MATLAB?
    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 D?
    What tools integrate with MATLAB?

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

    What are some alternatives to D and MATLAB?
    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