D and C APIs
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jan 11 09:25:26 PST 2016
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++?
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160111/993f3ffd/attachment.sig>
More information about the Digitalmars-d
mailing list