WinAPI for druntime and OpenGL for deimos.

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Nov 23 04:56:50 PST 2012


On 11/23/12, Gor Gyolchanyan <gor.f.gyolchanyan at gmail.com> wrote:
> It'll take more time trying to extract stuff from Derelict, rather then
> regexp search/replace -ing the headers.

You really believe that your regex script is going to do a better job
than what Mike has been using and maintaining for years? The same
applies to WinAPI, these bindings have been developed and used in
years. Introducing new bindings to the same APIs which aren't
compatible with existing bindings is just going to create
compatibility issues when you use multiple libraries, and it's going
to create confusion for new users.

Instead of trying to reinvent, why not just contribute to the existing
bindings if they're missing functionality or some of their code is
outdated?

I'll also say that IMO the concept of Deimos turns out to be a bad
idea, and I'm not alone in thinking this. Only few people have write
access, which means all pull requests have to go through a handful of
people who may not even know what the code in the bindings does, and
if the devs aren't around you'll have to wait days or even months (see
dmd/druntime/phobos) for a pull to be merged. Now some projects use
module names without a root (module curses), others encode the deimos
name (module deimos.zmq.utils), and then others use their own encoding
(module libexif.exif_byte_order).

And then you have Walter which merges all pull requests without any
review whatsoever. Deimos should have been a wiki page that lists
active bindings. And each binding project would have a maintainer or a
team of maintainers (who would review pull requests properly). And
that's it.


More information about the Digitalmars-d mailing list