<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 11:15 PM, Michael Truog <span dir="ltr"><<a href="mailto:mjtruog@gmail.com" target="_blank">mjtruog@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 01/30/2014 01:58 PM, Garrett Smith wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Jan 30, 2014 at 3:13 PM, Joe Armstrong <<a href="mailto:erlang@gmail.com" target="_blank">erlang@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is anybody working on upgrading the 0MQ libraries for erlang to<br>
the latest version of 0QM.<br>
</blockquote>
I would be tempted to upgrade them, but I've wanted to have an<br>
external C port implementation of the 0MQ bindings for a while and so<br>
created this:<br>
<br>
<a href="https://github.com/gar1t/erlang-czmq" target="_blank">https://github.com/gar1t/<u></u>erlang-czmq</a><br>
<br>
In my three years of experience with the 0MQ bindings, it's been<br>
(historically) very easy to crash the Erlang VM. For my applications,<br>
speed will never justify the cost of taking an entire node down. The<br>
CZMQ bindings I have here are quite slow relative to erlzmq2 (~ 5 - 10<br>
times slower). I'm sure they can be made much faster, but my thinking<br>
is that running multiple external ports could alleviate this.<br>
<br>
Speed kills.<br>
<br>
This code is not running in production, but it will be soon.<br>
<br>
The CZMQ API in my opinion is the right target for new 0MQ bindings,<br>
regardless of how they're implemented. Pieter Hintjen's rationale for<br>
writing CZMQ is here:<br>
<br>
<a href="https://github.com/zeromq/czmq#scope-and-goals" target="_blank">https://github.com/zeromq/<u></u>czmq#scope-and-goals</a><br>
<br>
Garrett<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
<br>
</blockquote>
<br></div></div>
Yes, but <a href="https://github.com/gar1t/erlang-czmq" target="_blank">https://github.com/gar1t/<u></u>erlang-czmq</a> has a GPLv3 license, while <a href="https://github.com/zeromq/erlzmq2" target="_blank">https://github.com/zeromq/<u></u>erlzmq2</a> has a BSD license, so that can also affect the choice.  erlang-czmq appears impossible to use in any commercial way, including in a service (due to it being v3 of the GPL).  So, that is a concern, aside from it being slow.  Though, I am not a lawyer, I am not giving legal advice.</blockquote>

<div><br></div><div>indeed. It should probably better to use LGPL3 if you want to make sure to get the changes on your lib or MPL2 if you want to keep a little the spirit of the gpl. So it doesn't have any possible side-effect on the code using the library.</div>

<div><br></div><div>- benoit</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/<u></u>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div></div>