www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - D features - wanna start project

reply toki <t.kiefer tokis-edv-service.de> writes:
Hi,
I love D, and after using Java for years I want to switch back to D.
I'm too lazy to google, and so wanna ask you.
1. Is D still under development ? Is it still supported ?
2. Which GUI lib would you suggest - which is the most robust implementation ?
3. Are there any OpenGL bindings ? Are they stable ?
4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts in
D ?

Best Regards
Thorsten
Aug 21 2009
next sibling parent reply toki <t.kiefer tokis-edv-service.de> writes:
toki Wrote:

 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?
 2. Which GUI lib would you suggest - which is the most robust implementation ?
 3. Are there any OpenGL bindings ? Are they stable ?
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?
 
 Best Regards
 Thorsten

5. And I need ODE bindings - for phsyics Wanna code a game. -Toki
Aug 21 2009
parent toki <t.kiefer tokis-edv-service.de> writes:
toki Wrote:

 toki Wrote:
 
 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?
 2. Which GUI lib would you suggest - which is the most robust implementation ?
 3. Are there any OpenGL bindings ? Are they stable ?
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?
 
 Best Regards
 Thorsten

5. And I need ODE bindings - for phsyics Wanna code a game. -Toki

6. And some sort of DefaultMutableTreeModel. -Toki
Aug 21 2009
prev sibling next sibling parent bearophile <bearophileHUGS lycos.com> writes:
toki:

I love D, and after using Java for years I want to switch back to D.<

Welcome to D. You can program D almost as C, or as C++, or as Java. The best strategy is often to mix such three styles and to add some other things coming from functional programming and specific of D (mixins, etc). Programming D in pure Java-style will lead to low performance (because the GC is quite slower and virtual functions generally aren't inlined yet).
 1. Is D still under development ? Is it still supported ?

D1 and D2 are supported. D1 is mostly in debug mode, D2 is alpha state still.
 3. Are there any OpenGL bindings ?

Yep.
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?<

HashMaps are buil-in in D. You can probably find those in Tango. I don't know about TreeSet.
DefaultMutableTreeModel<

I think that in D people usually create their own trees. there are too many different types of them (I have seen some implementations). I leave the other questions to other people. Bye, bearophile
Aug 21 2009
prev sibling next sibling parent reply Lutger <lutger.blijdestijn gmail.com> writes:
toki wrote:

 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?
 2. Which GUI lib would you suggest - which is the most robust
 implementation ? 3. Are there any OpenGL bindings ? Are they stable ?
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have
 counterparts in D ?
 
 Best Regards
 Thorsten

1) D is under heavy development and has branched into a stable (frozen) version D1 and alpha, backwards incompatible D2. For D1 there is the dmd compiler and ldc compiler (supports also 64 bit but not windows). 4) For D1 there is an alternative library incompatible with phobos: tango. It is comprehensive and has high performance, also a good collections library. 2) The big ones are dwt (port of swt), wxWindows, gtkd and qtd. I think most stable is currently gtkd, but I'm not sure. Hybrid might also be interesting for a game. 3) Yes, derelict offers a plethora of game-oriented bindings to common c libraries and is very popular. It also has an ODE binding. links: www.dsource.org/projects/ldc www.dsource.org/projects/derelict www.dsource.org/projects/tango http://prowiki.org/wiki4d/wiki.cgi?GuiLibraries Happy hacking!
Aug 21 2009
parent Dejan Lekic <dejan.lekic gmail.com> writes:
I would recommend the excellent Pluto (former fltk4d) GUI toolkit.
For more information: http://dronten.googlepages.com/pluto .

Lutger Wrote:

 toki wrote:
 
 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?
 2. Which GUI lib would you suggest - which is the most robust
 implementation ? 3. Are there any OpenGL bindings ? Are they stable ?
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have
 counterparts in D ?
 
 Best Regards
 Thorsten

1) D is under heavy development and has branched into a stable (frozen) version D1 and alpha, backwards incompatible D2. For D1 there is the dmd compiler and ldc compiler (supports also 64 bit but not windows). 4) For D1 there is an alternative library incompatible with phobos: tango. It is comprehensive and has high performance, also a good collections library. 2) The big ones are dwt (port of swt), wxWindows, gtkd and qtd. I think most stable is currently gtkd, but I'm not sure. Hybrid might also be interesting for a game. 3) Yes, derelict offers a plethora of game-oriented bindings to common c libraries and is very popular. It also has an ODE binding. links: www.dsource.org/projects/ldc www.dsource.org/projects/derelict www.dsource.org/projects/tango http://prowiki.org/wiki4d/wiki.cgi?GuiLibraries Happy hacking!

Aug 21 2009
prev sibling next sibling parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Fri, 21 Aug 2009 10:18:04 -0400, toki <t.kiefer tokis-edv-service.de>  
wrote:

 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have  
 counterparts in D ?

As an alternative to the already suggested Tango libs, you can use dcollections (http://www.dsource.org/projects/dcollections) which has all those. Should work with Phobos 1 and Tango, I haven't yet ported to D2. -Steve
Aug 21 2009
parent Lutger <lutger.blijdestijn gmail.com> writes:
Steven Schveighoffer wrote:

 On Fri, 21 Aug 2009 10:18:04 -0400, toki <t.kiefer tokis-edv-service.de>
 wrote:
 
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have
 counterparts in D ?

As an alternative to the already suggested Tango libs, you can use dcollections (http://www.dsource.org/projects/dcollections) which has all those. Should work with Phobos 1 and Tango, I haven't yet ported to D2. -Steve

A little offtopic, but are you planning to support D2? And use ranges? Thanks.
Aug 21 2009
prev sibling next sibling parent reply #ponce <aliloko gmail.com> writes:
 3. Are there any OpenGL bindings ? Are they stable ?

DerelictGL support OpenGL up to 2.1. I think it's sufficient at this time There is also a plan to support OpenGL 3.x through Derelict2. Derelict is more than a simple binding, you can tell Derelict which OpenGL version you need or to load available extension. It's very convenient, since in C++ you would have to use GLEW to do that.
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?

dcollections or Tango. Also : a lot of useful code/bindings for games can be through on h3r3tic's page and dsource.
Aug 21 2009
parent #ponce <aliloko gmail.com> writes:
 Also : a lot of useful code/bindings for games can be through on h3r3tic's
page and dsource.

Aug 21 2009
prev sibling next sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Fri, 21 Aug 2009 12:00:48 -0400, Lutger <lutger.blijdestijn gmail.com>  
wrote:

 Steven Schveighoffer wrote:

 On Fri, 21 Aug 2009 10:18:04 -0400, toki <t.kiefer tokis-edv-service.de>
 wrote:

 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have
 counterparts in D ?

As an alternative to the already suggested Tango libs, you can use dcollections (http://www.dsource.org/projects/dcollections) which has all those. Should work with Phobos 1 and Tango, I haven't yet ported to D2. -Steve

A little offtopic, but are you planning to support D2?

Yes.
 And use ranges?

Yes. Not sure of an ETA, though. It's definitely on my list of things to do this year. -Steve
Aug 21 2009
prev sibling next sibling parent Jesse Phillips <jessekphillips+d gmail.com> writes:
Not really adding anything from those that have already posted.

toki Wrote:

 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?

http://www.prowiki.org/wiki4d/wiki.cgi?FrontPage
 2. Which GUI lib would you suggest - which is the most robust implementation ?

http://www.prowiki.org/wiki4d/wiki.cgi?GuiLibraries
 3. Are there any OpenGL bindings ? Are they stable ?

http://www.prowiki.org/wiki4d/wiki.cgi?Bindings
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?

... sorry no Wiki4D page on this :( but others have already answered.
 
 Best Regards
 Thorsten

Hope this helps you answer other questions.
Aug 21 2009
prev sibling parent Thorsten Kiefer <thorstenkiefer gmx.de> writes:
Thanks a lot ot everybody who answered !!!


toki Wrote:

 Hi,
 I love D, and after using Java for years I want to switch back to D.
 I'm too lazy to google, and so wanna ask you.
 1. Is D still under development ? Is it still supported ?
 2. Which GUI lib would you suggest - which is the most robust implementation ?
 3. Are there any OpenGL bindings ? Are they stable ?
 4. I often use HashMap, HashSet, TreeMap, TreeSet. Do they have counterparts
in D ?
 
 Best Regards
 Thorsten

Aug 24 2009