Skip to content

A ZeroMQ wrapper for the D programming language  #61

@Gemorroj

Description

@Gemorroj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions