D Language - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: D Language (/thread-9129.html)
D Language - WhatMeWorry - Jul 2, 2011 02:39 PM
Anybody have any opinions with this language? Seems pretty elegant. Like C++ done right.
RE: D Language - Oddity007 - Jul 2, 2011 04:33 PM
Torvalds Wrote:The slogan of Subversion for a while was "CVS done right", or something like that, and if you start with that kind of slogan, there's nowhere you can go. There is no way to do CVS right.
Since they break compatibility with C, they lose the one of the major reasons I'd ever even think of using C++ to begin with, even though it was the only real way to clean up C/C++'s weirdness. Since they still managed to create an incredibly bloated language, they lost the reason why I'd ever consider using D over C++.
RE: D Language - OneSadCookie - Jul 2, 2011 06:01 PM
Worst of all worlds?
RE: D Language - mysteriouspants - Jul 5, 2011 07:38 AM
I have used Digital Mars D quite a lot before.
The language is elegant and simple. It generates (really) fast code.
It has a massive schism between the two leading standard libraries, Tango and Phobos. They recently unified the runtime so you can use both simultaneously, but the main reason I do not use D any more is because it lacks good tools. It's OpenGL bindings are just C pass-throughs; most of the interesting libraries that you might want to use have been abandoned before the Tango/Phobos unification.
In short, I do not suggest it. If you ever want to deploy to iOS (or think that you might want to in the future), I strongly recommend using a mix of Objective-C and C++ to accomplish your goals. If you do want to experiment with D, I do have some tools that can get you going. The tools are (VERY) stale, predating the Tango/Phobos unification. But it does get you DWT, which is a re-implementation of SWT (a Java-style widget toolkit). It also gets you Derelict, the OpenGL bindings for D, as well as DSSS, a build tool. Alas! it was for Windows, but it's there should you want it. (See bottom of post for link).
TL;DR: It's a delightful language that is fast and expressive. However, insufficient libraries and tools make it really hard to use effectively without rolling your own stuff for a lot of different things. I have an installer for it that you can use on Windows (tested for Windows XP and Vista) to get yourself going.
https://bitbucket.org/doob/dvm/wiki/Home (a newer project; might be useful, though I haven't touched it)
There used to be a good replacement installer built by Anders Bergh; I couldn't find the link.