Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

D

Name: Anonymous 2008-09-19 1:42

What does /prog/ think of it? I've been using C++ for the last three years and some of D's features sound cool, so I might consider switching.
What's D's performance in relation to C++?
Does it standard library not suck? (In particular, I'm interested in structures such as strings, vectors, lists, queues, etc.)
Are there good IDEs available?

Name: Anonymous 2008-09-19 2:04

I'm waiting for version 2.0 to come out. I really like the idea, though, of a modernized replacement for C++. Something that's got the low-level facilities of and compatibility with C, but better integrated with more modern programming concepts (like, for god's fucking sake, modules rather than header files. Jesus.).

There are some criticisms of the standard library, which is why I'm waiting for the next version. I don't know about IDEs; I hear you can configure Code::Blocks to work nicely with it, and of course there's already shit like an Emacs mode. It's hardly surprising that the IDE support is relatively lacking, though, since it's so young.

Give it a few years and I can see this language going places.

Name: Anonymous 2008-09-19 8:09

>>2
What are you saying? D is a niche language at best - more like a toy language only nerds care about - which hardly anyone knows about, let alone talks about.
In a few years it will be just as dead as it is now.

Name: Anonymous 2008-09-19 10:29

>>3
toy language
You can't stop here. This is LISP country!

Name: Anonymous 2008-09-19 11:53

>>1
There are two "standard" libraries - the official one, Phobos, which is quite good but has no containers, and unofficial, Tango, which has almost everything, but some say it is too much modeled after Java's standard library (classes everywhere, etc.)

Just use Tango and give it a try. Compared to C++ the experience should be quite enjoyable.

>>2
Code::Blocks is usable. It doesn't support all the syntax (for example, /+ +/ nested comments) and sometimes understands the code as if it was written in C++, but generally makes programming in D easy. Also, it cooperates with GDC/DMD compilers out of the box.

Compatibility with C is harder because of two things - many libraries (ab)using the preprocessor in their header files, and D using Pascal-style strings instead of C-style.

Overall, I see a bright future before D - C++ will become more and more confusing, and D is almost as fast, simpler, and more powerful.

What can be dangerous to D is the author himself - Walter Bright shows some benevolent dictator for life-like tendencies, like that time when he was arguing that opEquals should return int, not bool, and it took a few years to convince him and change it.

Name: Anonymous 2009-03-06 7:08


Than 9 to see   the corresponding screenshot   for that command.

Name: Anonymous 2009-03-06 7:26

>>6
I hate you. I was thinking to myself, "Oh, it sounds like I've read >>5 before." TURNS OUT I ACTUALLY HAVE.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List