What languages did influence D notably

tsbockman thomas.bockman at gmail.com
Sat Sep 3 16:19:26 UTC 2022


On Saturday, 3 September 2022 at 03:32:35 UTC, Jack wrote:
> ALgo, Java, Python, Ruby, C# and Effiel. What are some other 
> languages?

The top influences are of course C++ and C. Walter Bright 
intended D1 as an improvement over C++, whose quirks and faults 
he became very familiar with while working on his commercial C++ 
compiler.

C is also explicitly a major influence, given that much of D's 
basic semantics and syntax were chosen with the goal that C code 
should be easily translatable into D by non-experts, with the 
obvious translation either having compatible semantics, or 
failing at compile time. D's ABI compatiblity through 
`extern(C)`, use of the C runtime library, and `-betterC` mode 
are further evidence that C is the dominant influence, along side 
C++.


More information about the Digitalmars-d mailing list