www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What is the state of D for game development?

reply =?UTF-8?Q?Ali_=c3=87ehreli?= <acehreli yahoo.com> writes:
I am stealing HerrDrFaust's question from the following Reddit thread:

 
https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/

Please answer here or there.

Thank you,
Ali
Dec 17 2015
parent reply BLM768 <blm768 gmail.com> writes:
On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli wrote:
 I am stealing HerrDrFaust's question from the following Reddit 
 thread:


 https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/

 Please answer here or there.

 Thank you,
 Ali
Well, we have some bindings to game dev libraries, but the ecosystem isn't nearly as rich as what's available with C++. Derelict has bindings to almost all the "basic" libraries, though. I've been working on a binding to Bullet Physics, but it's stalled while I wait on a DMD pull request that I put in to allow the kind of introspection my method requires.
Dec 17 2015
parent reply extrawurst <stephan extrawurst.org> writes:
On Thursday, 17 December 2015 at 17:46:15 UTC, BLM768 wrote:
 On Thursday, 17 December 2015 at 17:38:31 UTC, Ali Çehreli 
 wrote:
 I am stealing HerrDrFaust's question from the following Reddit 
 thread:


 https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/

 Please answer here or there.

 Thank you,
 Ali
Well, we have some bindings to game dev libraries, but the ecosystem isn't nearly as rich as what's available with C++. Derelict has bindings to almost all the "basic" libraries, though. I've been working on a binding to Bullet Physics, but it's stalled while I wait on a DMD pull request that I put in to allow the kind of introspection my method requires.
What PR is that ? Link ? --Stephan
Dec 17 2015
parent BLM768 <blm768 gmail.com> writes:
On Friday, 18 December 2015 at 00:03:06 UTC, extrawurst wrote:
 What PR is that ? Link ?

 --Stephan
https://github.com/D-Programming-Language/dmd/pull/5290 It adds some __traits that would make it easier for me to introspect my binding modules and generate glue code. Right now, I'm using several stages of build tools which loop over the actual source files to generate the necessary code, which has gotten quite ugly. With the right __traits, it's possible to cut out some steps. Once I've refactored everything, it might actually be a viable method to bind all sorts of C++ libraries.
Dec 17 2015