digitalmars.D - D as a Unity3D language
- Joel Lamotte (14/14) Dec 19 2012 So I was thinking vaguely about future of game programming in my
- Paulo Pinto (7/22) Dec 19 2012 Although it would be nice, I think it would be an hard battle
- DypthroposTheImposter (2/2) Dec 19 2012 Unity uses mono so any D compiler that could compile to pure CLI
- Paulo Pinto (14/16) Dec 19 2012 Yeah, but I was actually speaking about the language.
- F i L (17/32) Dec 19 2012 I doubt the Unity3D team will have much interest in adapting D to
So I was thinking vaguely about future of game programming in my own career, how I would have used D if there was more tool and library support for my domain and other similar things and it hit me that if D was a language available in some specific game dev tools, it's popularity and availability would jump to the roof. I was wondering is either Andrei or Walter did try to contact Unity3D guys see if it would have been possible for them to have D as one of the possible scripting language? I know D could be used from the paid version of Unity, like C++ can be called from Unity3D scripts. However D as a scripting language for it would be very interesting at least on the educational point. What do you think? Joel Lamotte
Dec 19 2012
On Wednesday, 19 December 2012 at 14:21:43 UTC, Joel Lamotte wrote:So I was thinking vaguely about future of game programming in my own career, how I would have used D if there was more tool and library support for my domain and other similar things and it hit me that if D was a language available in some specific game dev tools, it's popularity and availability would jump to the roof. I was wondering is either Andrei or Walter did try to contact Unity3D guys see if it would have been possible for them to have D as one of the possible scripting language? I know D could be used from the paid version of Unity, like C++ can be called from Unity3D scripts. However D as a scripting language for it would be very interesting at least on the educational point. What do you think? Joel LamotteAlthough it would be nice, I think it would be an hard battle studios now making use of it. -- Paulo
Dec 19 2012
Unity uses mono so any D compiler that could compile to pure CLI would be usable in Unity in theory
Dec 19 2012
Am 19.12.2012 17:45, schrieb DypthroposTheImposter:Unity uses mono so any D compiler that could compile to pure CLI would be usable in Unity in theoryYeah, but I was actually speaking about the language. Since 2008, I have noticed here in Germany quite a few studios have Additionally most universities are now doing XNA and Unity based courses in their game design courses. As a result, many are starting to feel comfortable to move from C++ to So they would need to have a good reason to use D instead, even if it is available. -- Paulo
Dec 19 2012
On Wednesday, 19 December 2012 at 14:21:43 UTC, Joel Lamotte wrote:So I was thinking vaguely about future of game programming in my own career, how I would have used D if there was more tool and library support for my domain and other similar things and it hit me that if D was a language available in some specific game dev tools, it's popularity and availability would jump to the roof. I was wondering is either Andrei or Walter did try to contact Unity3D guys see if it would have been possible for them to have D as one of the possible scripting language? I know D could be used from the paid version of Unity, like C++ can be called from Unity3D scripts. However D as a scripting language for it would be very interesting at least on the educational point. What do you think? Joel LamotteI doubt the Unity3D team will have much interest in adapting D to their engine, unfortunately. It just isn't cost effective, (besides possibly getting rid of the Mono dependency). I'm pretty to dynamically bind to script events and properties. D is mostly but you have to build out structures manually, and it's much more difficult. A better idea would be to make a new Game Engine completely written in D, which also uses D for "scripts". You'd still need to build runtime reflection structures for anything like Unity's editor, though. I was playing around with D the other day with a similar motive, but I never really came up with a solution on how to dynamically bind a delegate to a "unknown" type's function.
Dec 19 2012