On Monday, 11 January 2016 at 17:25:26 UTC, Russel Winder wrote:
I am guessing that people have an answer to this:

D making use of a C API needs a D module adapter. This can either be constructed by hand (well it can, but…), or it can be auto generated from the C header files and then hand massaged (likely far better). I think the only tool for this on Linux is DStep.

This is all very well for a static unchanging API, but what about C APIs that are generated from elsewhere? This requires constant update of the D modules. Do people just do this by hand?

Is the pain of creating a V4L D module set worth the effort rather than just suffering the pain of writing in C++?

This is the kind of thing I wrote reggae for. CMake is an alternative, but I'd rather write D than CMake script.

Atila

Reply via email to