It is 100% compatible with C, but it doesn't inherit all the C crap like C++. (read it as: it's not a fancy preprocessor for C) But it still has pointers. NOT CRAPPY BUILTIN STRINGS Automatic and manual memory management. Extensive support for metaprogramming/compile-time code execution/generation. Builtin non total crap dynamic arrays. Optimized pure functions. Builtin strings that don't suck. Safe subset of the language. Decent module system. Closures. Decent conditional-compiling system. Not that preprocessor bullshit. BUILT-FUCKING-IN STRINGS. Compiles to native code. Doesn't suck like C++.
Discuss.
Name:
Anonymous2010-11-15 6:05
use
multi line
quotes
Name:
Anonymous2010-11-15 6:10
>>2 I
was
making
a
list
not
a
quotation,
you
moron.
Name:
Anonymous2010-11-15 6:37
It's nice but on the other hand I've mastered C++ and I'm comfortable enough with it's quirks, I have no need for D.
tl;dr I like C++ already because I like S/M sex.
Name:
Anonymous2010-11-15 6:47
It's now official: OpenMW is changing development language from D to C++. The reasons for this are threefold:
Very few people know D, lots of people know C++
Nobody has a D compiler, and setting one up is difficult on most platforms except for 32 bit Linux
Maintaining a mixed D/C++ code base is too much work, mostly because the compiler and tools don't work well together in this scenario (especially on Windows.)
I feel that if the D compiler and tools had been more mature and user-friendly, the benefits of the D language would have made the other problems worth it. But a lot of people have asked for this conversion now, and most seem to be happy about the decision (and so am I), so I think it's the right choice.
>>1
The only thing you need to know about D is that it wants to be C++, and is pretty good at it. It cleans up a lot of the retardation present in C++, but since the only people who actually wanted to use C++ to begin with are oblivious to that kind of thing, there is no one on Earth who wants to use D except for programmers who have taken the first few steps toward languages that don't suck, but don't know enough about existing programming languages to have found a good one yet.
C is the best C-style programming language, because it's the only one with a reason to exist.
Name:
Anonymous2010-11-15 14:32
>>12
Why not just play a good game like Fallout or Super Mario World instead?
Name:
Anonymous2010-11-15 15:08
>>15
Making a lot of sense and writing decently? In MY /prog/?
NOT CRAPPY BUILTIN STRINGS? Do they handle unicode and ansi strings in a simple way(automatic codepage conversion, proper reference counting, variable-length indexing, etc)?
To me it sounds like a half a decade old dialect of Object Pascal, destroyed by C syntax and semantic injection.