[zeromq-dev] [ANN] zmq.rs - native stack of ØMQ in Rust
Pieter Hintjens
ph at imatix.com
Wed Jul 2 11:36:29 CEST 2014
Very nice. The only comment I'd make is that the libzmq API is a
little clunky and you might look at the CZMQ zsock API as a model. The
code classes in CZMQ are zsock, zactor, and perhaps zbeacon and zmsg.
There's also an interesting API in libzmtp, which expresses separate
socket types as separate classes.
-Pieter
On Wed, Jul 2, 2014 at 8:16 AM, Fantix King <fantix.king at gmail.com> wrote:
> Hi,
>
> Here is zmq.rs, a native implementation of ØMQ in the Rust programming
> language in MPLv2. I've just got a very ugly prototype running till now, and
> I'm expecting to hear more comments on anything.
>
> https://github.com/zeromq/zmq.rs
>
> For who wants to know more about Rust, it is a systems programming language
> from Mozilla, that runs blazingly fast, prevents almost all crashes, and
> eliminates data races (according to http://www.rust-lang.org/). Guaranteed
> memory safety and concurrency without data races is what I liked it most.
>
> Back to the project, I did a few iterations and got what it is now, in the
> hope that more discussion can be raised over some actual code to talk about.
> zmq.rs currently has REQ and REP, can `send` and `recv` in ZMTP 2.0. I also
> blogged a bit about the design here (more to come):
>
> http://blog.segmentfault.com/fantix/1190000000593564
>
> You are more than welcome to:
> * comment on the design
> * suggest different solution
> * complain about whatever you don't like
> * open issues on github
> * send me PRs and code reviews
> * join me developing and maintaining it
> * or even star it on github ;)
>
>
> BR,
> Fantix
> --
> http://about.me/fantix
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list