Skip to main content
gamedev.net
🔒 Locked

D

Started by Wavesonics 11 replies 1.8k views
Original Post
Wavesonics
Wavesonics
So I like programing C++, I'm probably sick. But I like the fact I produce executable code not byte code. I have been hard pressed to move away from C++ for C# and others all though I have used C# and it is a very nice language. But just look around I stumbled across this language D, it looks awesome. I'm sure I'm probably the last person to hear about it, so what does everyone think of it? The bench marks show it faster then C++ and it looks to be more elegant truthfully. Any one have any experience with it?
Feralrath
Feralrath
the D programing language has been around for some time. i've been keeping an eye on it to see if it actually takes off or not.

i like the look of it and haveing seen some compairsons between D and C++ it actually does run a bit faster.

seeing as they keept the c/c++ format when designign the D language it shouldn't be that hard to learn if you know c/c++(altho i havent trying using it YET).

it would be nice to see a version of opengl ported over to D would give me a reason to try it out..............hmm...i wonder if i could use opengl with it since its suposed to use they standard win32 api's.


/me starts reading more about D ;)
l0calh05t
l0calh05t
It does a lot of things better than C++ and others just differently. All in all I think it's an improvement over C++, but using/making libraries is still a bit of a problem (unless you are fine with C calling conventions only, so no exported objects etc)
OrangyTang
OrangyTang
Kenta Cho uses D for most of his games. It's a language I keep meaning to look into, but from what I've seen it sits slightly uncomfortably between trying to be a robust high level language like Java or C# and with trying to be a low-level bit twiddling language like C. If you really need both extremes it might be better to use C++ for the low level bits and a scripting language for the high level.
Sneftel
Sneftel
We've had long, rambling discussions here on D in the past. My feeling is that there's nothing sufficiently compelling about it that it would overcome more mature and widespread HLLs like C# and Python.
Agony
Agony
I tried to get into a couple of months ago, but the library support for it (things that would replace core elements of SC++L and Boost, primarily) seemed kind of lacking or incomplete. And I really don't want to have to implement my own containers all the time. Maybe I overlooked something, though. I was really interested in some of the other features. Oh well.
"We should have a great fewer disputes in the world if words were taken for what they are, the signs of our ideas nly, and not for things themselves." - John Locke o
DeadXorAlive
DeadXorAlive
Quote:
Original post by Agony
I tried to get into a couple of months ago, but the library support for it (things that would replace core elements of SC++L and Boost, primarily) seemed kind of lacking or incomplete. And I really don't want to have to implement my own containers all the time. Maybe I overlooked something, though. I was really interested in some of the other features. Oh well.


Because of this there has been a community effort to provide an alternative to the standard library. It's in beta and perhaps a weird situation as it is a replacement, but it has lots of the basic stuff and of high quality: Tango

Regards
iMalc
iMalc
Quote:
Original post by DeadXorAlive
Quote:
Original post by Agony
I tried to get into a couple of months ago, but the library support for it (things that would replace core elements of SC++L and Boost, primarily) seemed kind of lacking or incomplete. And I really don't want to have to implement my own containers all the time. Maybe I overlooked something, though. I was really interested in some of the other features. Oh well.


Because of this there has been a community effort to provide an alternative to the standard library. It's in beta and perhaps a weird situation as it is a replacement, but it has lots of the basic stuff and of high quality: Tango

Regards
Cool, it looks really impressive!

I downloaded the compiler when it hit v1.0, but still haven't gotten around to using it. I notice that it has rndint in Tango.math.Math for very fast float to int conversions. Also, there's an feq function for floating point comparison. Now that was a smart thing to include.
tango.core.Atomic looks pretty cool too. Nice to have that in the library.
I did notice the lack of a stable sort algorithm in tango.core.Array though.

I'm gonna have to give this stuff a go shortly. I really hope the language takes off in a big way!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.