Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-03 Thread Thad Guidry
Hey Fantix, nice job !

By the way, if you really have time to spare...MQTT would also be a nice
to have library...for the embeddable sensor domain guys.

A bit about it here:
http://clockwerx.blogspot.com/2014/06/whats-mqtt-and-how-can-you-use-it.html

-- 
-Thad
+ThadGuidry https://www.google.com/+ThadGuidry
Thad on LinkedIn http://www.linkedin.com/in/thadguidry/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


[rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread Fantix King
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 ØMQ, it looks like an embeddable
networking library but acts like a concurrency framework. It gives you
sockets that carry atomic messages across various transports like
in-process, inter-process, TCP, and multicast. You can connect sockets
N-to-N with patterns like fan-out, pub-sub, task distribution, and
request-reply. (according to http://zguide.zeromq.org/page:all)

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/119000593564

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
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread Corey Richardson
Complaining about something I don't like:

Due to the choice of MPLv2, this won't be usable in the wider Rust
ecosystem, which is MIT/ASL2 focused. In particular, section 3.2(a)
requires that any distribution in Executable Form carry a notice
about how to acquire the source code of zmq.rs. This is not
unworkable, but it is something we have avoided so far in the
community.

Otherwise, I look forward to reviewing this in more depth tomorrow. Nice work!

On Tue, Jul 1, 2014 at 11:38 PM, Fantix King fantix.k...@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 ØMQ, it looks like an embeddable networking
 library but acts like a concurrency framework. It gives you sockets that
 carry atomic messages across various transports like in-process,
 inter-process, TCP, and multicast. You can connect sockets N-to-N with
 patterns like fan-out, pub-sub, task distribution, and request-reply.
 (according to http://zguide.zeromq.org/page:all)

 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/119000593564

 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

 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev




-- 
http://octayn.net/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread Fantix King
Thank you, Corey!

Honestly I didn't dig deep about licensing. It was MIT which I think is the
most open one as BSD. Then http://zeromq.org/docs:organization suggested
MPLv2 - something between BSD and GPL just sounded also not bad for me,
so I didn't pay much attention changing to MPLv2. I wouldn't mind changing
back to MIT if that works better for the community :)

BR,
Fantix
--
http://about.me/fantix


On Wed, Jul 2, 2014 at 3:16 PM, Corey Richardson co...@octayn.net wrote:

 Complaining about something I don't like:

 Due to the choice of MPLv2, this won't be usable in the wider Rust
 ecosystem, which is MIT/ASL2 focused. In particular, section 3.2(a)
 requires that any distribution in Executable Form carry a notice
 about how to acquire the source code of zmq.rs. This is not
 unworkable, but it is something we have avoided so far in the
 community.

 Otherwise, I look forward to reviewing this in more depth tomorrow. Nice
 work!

 On Tue, Jul 1, 2014 at 11:38 PM, Fantix King fantix.k...@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 ØMQ, it looks like an embeddable
 networking
  library but acts like a concurrency framework. It gives you sockets that
  carry atomic messages across various transports like in-process,
  inter-process, TCP, and multicast. You can connect sockets N-to-N with
  patterns like fan-out, pub-sub, task distribution, and request-reply.
  (according to http://zguide.zeromq.org/page:all)
 
  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/119000593564
 
  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
 
  ___
  Rust-dev mailing list
  Rust-dev@mozilla.org
  https://mail.mozilla.org/listinfo/rust-dev
 



 --
 http://octayn.net/

___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread Erick Tryzelaar
This is awesome! I look forward to deprecating
https://github.com/erickt/rust-zmq.


On Wed, Jul 2, 2014 at 12:40 AM, Fantix King fantix.k...@gmail.com wrote:

 Thank you, Corey!

 Honestly I didn't dig deep about licensing. It was MIT which I think is
 the most open one as BSD. Then http://zeromq.org/docs:organization
 suggested MPLv2 - something between BSD and GPL just sounded also not bad
 for me, so I didn't pay much attention changing to MPLv2. I wouldn't mind
 changing back to MIT if that works better for the community :)

 BR,
 Fantix
 --
 http://about.me/fantix


 On Wed, Jul 2, 2014 at 3:16 PM, Corey Richardson co...@octayn.net wrote:

 Complaining about something I don't like:

 Due to the choice of MPLv2, this won't be usable in the wider Rust
 ecosystem, which is MIT/ASL2 focused. In particular, section 3.2(a)
 requires that any distribution in Executable Form carry a notice
 about how to acquire the source code of zmq.rs. This is not
 unworkable, but it is something we have avoided so far in the
 community.

 Otherwise, I look forward to reviewing this in more depth tomorrow. Nice
 work!

 On Tue, Jul 1, 2014 at 11:38 PM, Fantix King fantix.k...@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 ØMQ, it looks like an embeddable
 networking
  library but acts like a concurrency framework. It gives you sockets that
  carry atomic messages across various transports like in-process,
  inter-process, TCP, and multicast. You can connect sockets N-to-N with
  patterns like fan-out, pub-sub, task distribution, and request-reply.
  (according to http://zguide.zeromq.org/page:all)
 
  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/119000593564
 
  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
 
  ___
  Rust-dev mailing list
  Rust-dev@mozilla.org
  https://mail.mozilla.org/listinfo/rust-dev
 



 --
 http://octayn.net/



 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev


___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread SiegeLordEx

On 07/02/2014 03:16 AM, Corey Richardson wrote:

Complaining about something I don't like:

Due to the choice of MPLv2, this won't be usable in the wider Rust
ecosystem, which is MIT/ASL2 focused. In particular, section 3.2(a)
requires that any distribution in Executable Form carry a notice
about how to acquire the source code of zmq.rs. This is not
unworkable, but it is something we have avoided so far in the
community.


I should note that this is not a universally held opinion in the Rust 
community. While it is true that many/most current Rust projects mimic 
the license of `rustc` itself, there's nothing in Rust as a language 
that precludes or encourages the use of any particular license. The 
mentioned 'avoidance' is likely a consequence of the people just 
preferring those licenses (i.e. they'd use them for their non-Rust 
projects as well) rather than Rust being against the spirit of 
attribution, share-alike, copyleft etc per se.


Personally, I would encourage Free Rust software just like I would 
encourage it in any other language. You shouldn't feel like you need to 
compromise on your moral principles (or whatever else you consult when 
choosing a license) to contribute to Rust's success.


-SL
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev


Re: [rust-dev] [ANN] zmq.rs - native stack of ØMQ in Rus

2014-07-02 Thread Corey Richardson
See also the discussion on IRC:
https://botbot.me/mozilla/rust/2014-07-02/?msg=17359232page=22

It wasn't my intention to discourage using any particular license, but
to raise its requirements if they weren't consciously chosen.

On Wed, Jul 2, 2014 at 12:33 PM, SiegeLordEx slab...@aim.com wrote:
 On 07/02/2014 03:16 AM, Corey Richardson wrote:

 Complaining about something I don't like:

 Due to the choice of MPLv2, this won't be usable in the wider Rust
 ecosystem, which is MIT/ASL2 focused. In particular, section 3.2(a)
 requires that any distribution in Executable Form carry a notice
 about how to acquire the source code of zmq.rs. This is not
 unworkable, but it is something we have avoided so far in the
 community.


 I should note that this is not a universally held opinion in the Rust
 community. While it is true that many/most current Rust projects mimic the
 license of `rustc` itself, there's nothing in Rust as a language that
 precludes or encourages the use of any particular license. The mentioned
 'avoidance' is likely a consequence of the people just preferring those
 licenses (i.e. they'd use them for their non-Rust projects as well) rather
 than Rust being against the spirit of attribution, share-alike, copyleft etc
 per se.

 Personally, I would encourage Free Rust software just like I would encourage
 it in any other language. You shouldn't feel like you need to compromise on
 your moral principles (or whatever else you consult when choosing a license)
 to contribute to Rust's success.

 -SL

 ___
 Rust-dev mailing list
 Rust-dev@mozilla.org
 https://mail.mozilla.org/listinfo/rust-dev



-- 
http://octayn.net/
___
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev