Linked by Thom Holwerda on Tue 2nd Jan 2007 21:39 UTC
General Development "D is a systems programming language. Its focus is on combining the power and high performance of C and C++ with the programmer productivity of modern languages like Ruby and Python. Special attention is given to the needs of quality assurance, documentation, management, portability and reliability. D is statically typed, and compiles direct to native code. It's multiparadigm: supporting imperative, object oriented, and template metaprogramming styles. It's a member of the C syntax family, and its look and feel is very close to C++'s. See this comparison of D with C, C++, C#, and Java."
Thread beginning with comment 198236
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[2]: What the ....
by computrius on Wed 3rd Jan 2007 16:41 UTC in reply to "RE: What the ...."
computrius
Member since:
2006-03-26

Umm.. C DOESNT have built in strings, resizable arrays, garbage collection, etc.

Technicly it has resizable arrays from a memory standpoint (you can resize a previously allocated block of memory via realloc), however from a purely syntactic standpoint there are not resizable arrays. Ive used D, and its actually just a matter of setting a new size variable. myArray.size = 10; (the actual attribute name might not be correct, but its the same idea) This is all it takes to resize an array in D. Try that in C ;) Post the results here.

There is certainly no garbage collection (in any way shape or form), I dont know how you can say this is a lie. This is always listed as one of the drawbacks of C. Note that addons do not count as they are talking about the base C language. Not the C language with joe schmoes addon for garbage collection.

There are no built in strings either. Note the suddle difference between character arrays that can be manipulated via pre made functions in the standard C libraries, and having the language native support all of the various functions of strings via operators.

Reply Parent Bookmark Score: 1