Thread overview
What is the state of D for game development?
Dec 17, 2015
Ali Çehreli
Dec 17, 2015
BLM768
Dec 18, 2015
extrawurst
Dec 18, 2015
BLM768
December 17, 2015
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
December 17, 2015
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.
December 18, 2015
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
December 18, 2015
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.