Difference between revisions of "D (Programming Language)"

From Chessprogramming wiki
Jump to: navigation, search
 
Line 49: Line 49:
 
* [http://www.digitalmars.com/d/archives/digitalmars/D/gdc_and_the_Computer_Language_Benchmarks_Game_55053.html#N55053 digitalmars.D - gdc and the Computer Language Benchmarks Game] by [[Guido Schimmels]], [http://dlang.org/index.html digitalmars.D], June 28, 2007
 
* [http://www.digitalmars.com/d/archives/digitalmars/D/gdc_and_the_Computer_Language_Benchmarks_Game_55053.html#N55053 digitalmars.D - gdc and the Computer Language Benchmarks Game] by [[Guido Schimmels]], [http://dlang.org/index.html digitalmars.D], June 28, 2007
 
* [http://talkchess.com/forum/viewtopic.php?topic_view=threads&p=414767&t=39683 Re: c vs c++] by [[Brian Haskin]], [[CCC]], July 14, 2011
 
* [http://talkchess.com/forum/viewtopic.php?topic_view=threads&p=414767&t=39683 Re: c vs c++] by [[Brian Haskin]], [[CCC]], July 14, 2011
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=49675 Are there any chess engines written in D?] by [[Russell Reagan]], [[CCC]], October 12, 2013
 
* [http://programmers.stackexchange.com/questions/97207/what-does-c-do-better-than-d programming languages - What does C++ do better than D? - Programmers - Stack Exchange]
 
* [http://programmers.stackexchange.com/questions/97207/what-does-c-do-better-than-d programming languages - What does C++ do better than D? - Programmers - Stack Exchange]
  

Latest revision as of 10:35, 9 April 2020

Home * Programming * Languages * D-Programming Language

D,
a programming language developed by Walter Bright from Digital Mars [1] [2]. The first stable version was released 2007. Walter Bright designed many other compilers as the first native compiler, the Zortech C++ compiler, the Symantec C++ compiler, and the Digital Mars C++ Compiler and many C compilers (as the Datalight C compiler). Andrej Alexandrescu joined the design and development effort in 2007. D is a distinct language and has redesigned some core C++ features, while also sharing characteristics from Java, Python, Ruby, C#, and Eiffel [3]. D is in the Top 20 of the TIOBE index [4] .

Design Principles

The design principles have been to write a compiler for a language that:

  • is fast without any compromise
  • has a clean syntax free of the C++ quirks
  • has all modern concepts of interpreted languages. In fact D has some Ruby + Python elements that make programming fun.
  • is easy to learn for C and C++ programmers

Native Features

Suitable for Chess Programming

D might be a competitive choice for chess programming because:

  • The performance / speed is comparable to C / C++
  • It has ulong (8 bytes) and is very data-type rich

Althought it looks like D has advantages over C/C++ in terms if a modern language, two possible problems might be worth to know

D Engines

Publications

Forum Posts

External Links

References

Up one Level