To view parent comment, click here.
To read all comments associated with this story, please click here.
Trying to incorporate non-primitive types like strings into the core language of a programming language which aims to be modular is a braindead decision. Do you want a couple of reasons? Well, unnecessary core language bloat and all those unnecessary modularity restrictions for starts. And knowing the disadvantages of the core language approach, what are their advantages?
Could be speed. D strings, maps and arrays are faster than those provided by all C++ standard library implementations.
OTOH, IMHO, it says more about C++ standard library and its implementations than about D.
(OK, a bit of biased guerrilla marketing:
http://www.ultimatepp.org/www$uppweb2$vsstd$en-us.html
)
The problem is that everytime a D article arises, the digitalmars people are behind it. Even in the newsgroups discussions, where Greg Comeau himself actively participates in spam campaigns on the
Are you sure you got the name right? Greg Comeau is of Comeau C++ glory, which is highly regarded 100% standard compliant C++ -> C compiler. AFAIK he has nothing to do with D (unless he got completely crazy very recently:) and I have never seen him posting about D in C/C++ newsgroups.
The man behind D is Walter Bright, author of Zortech C++, AFAIK second C++ compiler on the market (~1988).
Currently he provides Digital Mars C++, direct descendant of Zortech C++ and D language & compiler.
Could be speed. D strings, maps and arrays are faster than those provided by all C++ standard library implementations.
OTOH, IMHO, it says more about C++ standard library and its implementations than about D.
(OK, a bit of biased guerrilla marketing:
http://www.ultimatepp.org/www$uppweb2$vsstd$en-us.html
)
That benchmark has been discussed in one of the many "D is better than jesus" newsgroup discussions and it has been pointed out that, as you stated, it is an implementation issue and not a result of "buil-in-ness". If you are interested in that issue please read the discussion titled "How does D compare to C++?" on comp.lang.c++.moderated. In there once again the digital mars people claim (based on dishonest and incorrect comparissons) that D is some sort of second coming of jesus, claims which are promply corrected.







Member since:
2005-10-31
If you think that having strings be a 1st class data type is a "brain fart", that explains your previous comments. Please give 1 actually reason why it shouldn't be a core data type, and I mean ANY reason. Just one. I certainly can't think of any.
Trying to incorporate non-primitive types like strings into the core language of a programming language which aims to be modular is a braindead decision. Do you want a couple of reasons? Well, unnecessary core language bloat and all those unnecessary modularity restrictions for starts. And knowing the disadvantages of the core language approach, what are their advantages? None. So where in fact is that a good decision?
OMG, please stop!!! There are like maybe a couple thousand people... LITERALLY - who give a flying f*ck about D and would even notice an article about it. You act like its some massive coordinated effort to undermine the programming industry or something... 10 or 20 guys trying to spread the word is NOT an "aggresive astroturfing campaign". Get a grip already.
The problem is that everytime a D article arises, the digitalmars people are behind it. Even in the newsgroups discussions, where Greg Comeau himself actively participates in spam campaigns on the virtues of D Vs whatever language the newsgroup is about. Don't believe me? Check out google news and do a small search on that. There are a ton of spam discussions bordering trolling on language-specific newsgroups like comp.lang.c++.moderated, comp.lang.c++, comp.lang.ruby, comp.lang.tcl, etc... and even non--language specific newsgroups like comp.programming and comp.lang.misc which are started and fueled by digitalmars people dedicated to market the D programming language.