Yay, D 1.0 (wikipedia) (looks like the official D page is down now) has been finished today. I know, there are a lot of new programming languages, but as far as I've seen, D may be worth a look, especially if you are a C++ prorammer like me. I'm trying to learn (or better: play around with) at least one new programming language per year, so maybe D would be a nice target for 2007. And it sounds promising: It tries to combine the power of modern languages like C# and it's slow brother and the performance of C and C++. It has a GC but you can use manual memory management via new and delete if wished, C libraries can be directly used, it has a fast compiler by design (there are two implementations already, DMD and GCC) and lots of this modern useful stuff like delegates, closures, static ifs, contracts, built-in threads, is expressions etc which I personally miss in C++. If you take a look at some example code, you can easily see that they really thought about the syntax when designing the language. I think I can live without multiple inheritance for most projects, but it hurts a bit. And first I thought that a systems programming language without a preprocessor is quite senseless, but then I learned that D provides a nice conditional compilation mechanism similar to C# which is ok for me. I hope I've some time to play around with it soon.

fourteen comments, already:

I don’t know about D yet… still looks kinda ugly to me… guess I love C++ too much for my own good.
RabidLockerGnome (link) - 03 01 07 - 18:47

I’m a C/C++ guy who’s been spoiled by PHP and the like. I was reading about D recently and it sounded interesting, but is it ‘stable’? I mean, is it something one can invest time into working with and not find out it’s not ready for serious large-project coding?

Are there any major projects being worked on in it? Irrlicht bindings…? :)
Fortyseven (link) - 03 01 07 - 23:35

Oh, crap, the CMS used here exposes email addresses publicly if I don’t have an account…that’s unfriendly. And apparently it doesn’t store passwords as a hash, but in plaintext…(or so it says in the registration screen).

(Sorry, that’s the web developer side of me flaring up. ;))
Fortyseven (link) - 03 01 07 - 23:41

“Oh, crap, the CMS used here exposes email addresses publicly if I don’t have an account…that’s unfriendly.”
That’s not unfriendly. What’s the point of telling your address if you don’t want people to see it? Just leave it blank. O_o
Matthias - 04 01 07 - 09:29

– i’m missing proberties like in C#. – i also don’t like that they used the import keyword. – i also don’t like the syntax of the foreach loop.

but it’s quite an interessting new language.
i think we really need C++ 2.0 with properties, delegates, buildin-thread, foreach, template-enums and static-if.

pyro - 04 01 07 - 11:02

Fortyseven (link) - 04 01 07 - 13:18

i think we really need C++ 2.0 with properties, delegates, buildin-thread, foreach, template-enums and static-if.

I spend all day at work with my head in PHP, and then I come home, start doing C++ and instinctively whip out a foreach and then very sadly start backspacing over it. It’s so tragic. :~(
Fortyseven (link) - 04 01 07 - 13:41

Fortyseven: I still think that Email: field is just fine. If you want to trick the unhuman-readers just do it yourself(that’s also safer) and the mail is not required to post here.

foreach in C++ would be bad beacause it mixes language and library. BTW there is for_each. :P With some boost trickery it’s even quite compact to use that… but still tricky to figure that out. :( I end up just making a for loop instead of using the standard library’s algorithms, which sucks.
Matthias - 05 01 07 - 13:46

I’m quite defensive about C++... best thing that happened to man, but D looks ok aswell. Maybe I’ll have to give it a try.
JPulham - 05 01 07 - 13:47

fortyseven: I can delete your adress if you like.
niko - 05 01 07 - 17:29

That would rock, sir. Appreciated. :)
Fortyseven (link) - 05 01 07 - 17:55

np. should be done :)
niko - 05 01 07 - 17:59

I read that the D language has not been updated since 2004! That is a long time ago! I think the D language is too unsupported and unstable. What the language needs is a specialty. D really doesn’t have any specialty except the proposed ultimate language of Java, C++ and C#. That isn’t enough to make everyone hop the band wagon. I think that there needs to be either a D development suite(specializing in WYSIWYG form design) and/or backing from a large commercial company. Without either, I don’t think that D language will go much further.
3ddev () - 09 01 07 - 08:11

D language.. if it isnt another one letter language.. i mean they should have called it something even Dee sounds great.. Anyways I saw the comperision chart and it looks like the guys who made D just decided to combine all properties of C++ ,Java and C# .. While this is a great the biggest problem is that if someone decides to move to D he would have to rewrite is entire program. One thing they should have done in order to boost the lauguage would have been to add a Sorce code covertor.. from java => D , C# => D and may be C++ => D. thats one of the tricks that was used by C#. Did you know you can convert Java into C#. Anyhows D really sounds like a great language.
leo () - 09 01 07 - 09:59

Remember personal info?
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.