Status of Deimos bindings
weaselcat via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 25 21:09:08 PDT 2015
On Tuesday, 26 May 2015 at 03:51:22 UTC, Rikki Cattermole wrote:
> On 26/05/2015 9:33 a.m., FreeSlave wrote:
>> What's the current status of Deimos? I don't think that this
>> kind of
>> bindings is useless, since not everyone always wants dynamic
>> bindings.
>> E.g. for the sake of simplicity or static linking. Actually
>> Walter even
>> fixes issues in these bindings time by time, so I guess the
>> idea is
>> still alive. But I see some problems now:
>>
>> 1. Some of Deimos bindings are not made into the dub packages.
>> Also not
>> all of those which have dub.json (or package.json) are
>> presented in dub
>> registry.
>> 2. No consistency on names. There're repos named with lib
>> prefix and
>> without it either.
>> 3. I could not find information on how to propose new binding
>> to Deimos.
>> Currently we have some bindings in dub registry which are not
>> in
>> D-Programming-Deimos. Would be better to keep these things in
>> the same
>> place. One can filter dub registry by choosing the Development
>> library
>> -> D language bindings -> Deimos header-only binding, but some
>> bindings
>> (for example, flac) are not assigned to this section, so you
>> will not
>> see them.
>>
>> Thoughts?
>
> Really what needs to happen is getting Derelict-Util into
> phobos.
> And some CTFE magic to create static bindings from those (if
> wanted).
>
> From there its just port the derelict libraries and deimos ones
> to it and PR for phobos.
>
> Perhaps bindings shouldn't go through the review process. After
> all there isn't exactly bugs that can be introduced from it.
Please no, derelict bindings are incredibly heavyweight. I cut my
application's size from ~6mb to 200kb by using glad openGL loader
over derelict GL3.
More information about the Digitalmars-d
mailing list