Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A ZeroMQ wrapper for the D programming language #61

Open
Gemorroj opened this issue Dec 24, 2017 · 0 comments
Open

A ZeroMQ wrapper for the D programming language #61

Gemorroj opened this issue Dec 24, 2017 · 0 comments

Comments

@Gemorroj
Copy link

https://github.com/kyllingstad/zmqd

zmqd – a ZeroMQ wrapper for the D programming language

zmqd is a D library that wraps the low-level C API of
the ZeroMQ messaging framework.
It is a rather thin wrapper that maps closely to the C API, while making it
safer, easier and more pleasant to use. Here's how:

  • Errors are signalled by means of exceptions rather than return codes.
  • Functions are appropriately marked with @safe, pure and nothrow,
    thus facilitating their use in high-level D code.
  • Memory and resources (i.e. contexts, sockets and messages) are
    automatically managed, thus preventing leaks.
  • Context, socket and message options are implemented as properties.

The names of functions and types in zmqd are very similar to those in ZeroMQ,
but they follow the D naming conventions. Thus, the library should feel
both familiar to ZeroMQ users and natural to D users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant