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.
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:
@safe,pureandnothrow,thus facilitating their use in high-level D code.
automatically managed, thus preventing leaks.
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.