porting nanomsg bindings to dlang
Matt Soucy via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Nov 5 12:24:38 PST 2014
On 11/05/2014 01:12 PM, Laeeth Isharc wrote:
> Hi.
>
> Everyone has heard of ZeroMQ, but the creator (or one of the main guys) has been working on a successor framework written in C. (He has an interesting paper on why using C++ was a mistake - perhaps we should get him to look at D if he has not done so already).
>
> In any case, I could not see a set of D bindings so I wrote a very rough first draft of them last night. I only picked up D a couple of months back, and it's been about twenty years since I wrote much C (I am not a developer by trade), so be kind if the results are not yet quite up to scratch.
>
> Link to the repository is here - not even worthy of alpha status:
> https://github.com/Laeeth/d-nanomsg/tree/master
>
> So far I have tried the first example from here (which works), and am working my way down to test the others:
>
> http://tim.dysinger.net/posts/2013-09-16-getting-started-with-nanomsg.html
>
A few small suggestions:
Use a .gitignore so you're not tracking the objects and executables
Convert to a dub package to make it easier for other people to incorporate into their projects
Split out the "test" code from the "library" code
--
Matt Soucy
http://msoucy.me/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20141105/f95128b5/attachment.sig>
More information about the Digitalmars-d-announce
mailing list