What is the state of D for game development?

2015-12-17 Thread Ali Çehreli via Digitalmars-d

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


Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d

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.


Re: What is the state of D for game development?

2015-12-17 Thread BLM768 via Digitalmars-d

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.


Re: What is the state of D for game development?

2015-12-17 Thread extrawurst via Digitalmars-d

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