D (Programming Language)

From Chessprogramming wiki
Jump to: navigation, search

Home * Programming * Languages * D-Programming Language

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


Forum Posts

External Links


Up one Level