What is D language? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is D language?

What is D language? Is it an upgrade version of C language?

12th Dec 2016, 7:14 PM
nadir ali
nadir ali - avatar
2 Answers
0
It's not an upgrade, it is a new language
12th Dec 2016, 8:00 PM
Rishi Anand
Rishi Anand - avatar
0
D is a language that, similar to Java and C#, is an evolution of C++. But it has kept on evolving over time and version 2 of the language has many unique features now. In short: - native binaries (like C++, unlike Java/C# that runs inside a VM) - uses GC (unlike C++, but like Java/C#) - OOP (like C++/Java/C#), but with some FP features (such as function purity). - Very strong templates/template-meta-programming capabilities (like C++, very limited in Java/C#) - Concept of ranges (evolution of the CPP concept of iterators) - UFCS to allow component based programming. - Very powerful CTFE (compile time function evaluation) - etc... (many more) Sorry for all the acronyms, but you can check out the details (and acronyms!) at http://dlang.org.
12th Dec 2016, 11:19 PM
Ettienne Gilbert
Ettienne Gilbert - avatar