Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, April 2007
Re: D programming language bindings?


Message 1 in thread

Richard Dale wrote:

>> Well, the Python bindings use plain C too for the binding code, that
>> works pretty well. Of course for those its easier because Phil Thompson
>> wrote sip - a binding generator to create Python bindings for C++ code.
>> But still, if you can come up with such a tool the binding is not that
>> hard anymore (AFAIK the Ruby bindings are done with a similar framework)
>
> Bindings are very hard, and there is a lot of work to do even once you
> written a generator like SIP. The runtime issues you have to solve are
> more difficult than it first appears. The less dynamic a language is, the
> harder it is to do the runtime, and from what I've read D doesn't have
> anything much in the way of a dynamic runtime.

For people interested in this topic, I found that there is someone working
on a binding-generator:

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

I haven't tried it yet, but at the moment I think this is the most likely
way to go. 

Arne

-- 
 [ signature omitted ]