Need advice about which tool to choose?Ask the StackShare community!
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.
Pros of D
- Compile-time function execution16
- Makes functional programming style easier12
- Productive12
- Much easier to do Concurrent/Parallel vs C/C++12
- Simple but Powerful template-based generics11
- Powerful static function to avoid macro11
- Meta program is much easier to read/write vs. C++10
- It support unittest etc9
- Assembler is support directly in the language9
- System program language like C++ and C9
- Supports code covarge directly in the compiler9
- Metaprogramming7
- Supports both manuel memory and garbage collection7
- Plugs directly into C6
- Easy to translate from Java and C# to D6
- Feels and looks like C, so it's easy to learn5
- Amazing developer productivity4
- Fast2
- Performance2
- Syntax uniformity across pre-compile/compile/runtime1
Pros of MATLAB
- Simulink20
- Model based software development5
- Functions, statements, plots, directory navigation easy5
- S-Functions3
- REPL2
- Simple variabel control1
- Solve invertible matrix1
Sign up to add or upvote prosMake informed product decisions
Cons of D
Cons of MATLAB
- Parameter-value pairs syntax to pass arguments clunky2
- Doesn't allow unpacking tuples/arguments lists with *2
- Does not support named function arguments2