Page 1 of 1

Irrlicht For D

Posted: Fri Mar 16, 2007 9:00 pm
by Raedwulf
I'm planning to start a port Irrlicht into D.
Anyone interested?

Posted: Fri Mar 16, 2007 11:21 pm
by Spintz
Why?

Posted: Sat Mar 17, 2007 1:44 am
by Luben
Spintz wrote:Why?
Why do you make irrspintz? probably because you want to! :wink:

myself, if anything except c++ then lua, 'cause those are the languages i like =)

Posted: Sat Mar 17, 2007 1:51 am
by Spintz
Just was curious, I've not heard anything good about D so far. So, more curious why using D, not really about why porting Irrlicht to it.

Posted: Sat Mar 17, 2007 6:21 am
by Raedwulf
It is a very 'nicely constructed' language. Well for programmers like me who've not used C++ extensively, D looks like a very nice alternative and a much better alternative than C# (Though I can see why C++ programmers would think its a waste of time)
Rewriting Irrlicht into D would be more of a personal learning exercise for me in both understanding more OGL and understanding both D/C++.

Another point would be it would make Irrlicht available for D...

Cheers! :D

Posted: Sat Mar 17, 2007 8:10 am
by macdonag
Not sure about rewriting - that would seem a bit pointless (why not make a new library entirely in that case).

The more useful solution (IMHO) would be to write a C-based library wrapper for Irrlicht. This could be easily used by D (D can easily interface with C, but not C++).

This library would be a bit fiddly to maintain, but would be much more straightforward than rewriting Irrlicht in D.

Posted: Sat Mar 17, 2007 9:26 am
by Raedwulf
Probably too much work for the time I have... still toying with the idea though.

Posted: Sat Mar 17, 2007 12:18 pm
by Spintz
Well, a learning exercise would be cool, I might be into it, who knows, maybe if I spend more time with D, I might like it. Let me/us know how you decide to proceed with this.

Posted: Thu Mar 22, 2007 6:30 am
by Raedwulf
First of all, im organising all the C-libraries and translating the C-headers to D, so I can use jpeglib, libpng, etc.

Posted: Tue Mar 27, 2007 3:49 am
by zenaku
You might want to see which bindings are already available:

http://www.dsource.org/projects/bindings

The OpenGL binding in particular would help when doing the graphics driver. No need to rewrite OpenGL in D too :) You probably can find a binding for png and zlib somewhere.