<div dir="ltr">There is a bit of discussion about doing this sort of thing in rabbitmq-c.<div><br></div><div>See: <a href="https://github.com/alanxz/rabbitmq-c/issues/138" target="_blank">https://github.com/alanxz/rabbitmq-c/issues/138</a> for details. At this point supporting languages other than C/C++ is not a goal, though we don't do anything to prevent user's from wrapping the library.</div>
<div><br></div><div>A note: encoding/decoding AMQP wireformat isn't that complicated, I'm skeptical that farming out encoding/decoding to C would improve performance in a big way over something well-designed in PHP (I could be wrong though...)<br>
</div><div><br></div><div>A second note: even without thinking about a public API, there's a bit more to an AMQP client than just the wireformat, there is the 'state machine' or grammar of how a connection and channel operates. Not saying a serializer/deserializer isn't useful, but its not something that is trivial to turn into a complete client.</div>
<div><br></div><div>-Alan</div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 1, 2013 at 11:17 AM, Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@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 dir="ltr"><div class="gmail_extra">2013/10/1 Gavin M. Roy <span dir="ltr"><<a href="mailto:gavinmroy@gmail.com" target="_blank">gavinmroy@gmail.com</a>></span><div class="im">
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Similar to what I was trying to achieve in Python land with <a href="http://github.com/gmr/pamqp" target="_blank">github.com/gmr/pamqp</a> -- I think it's an excellent idea.</div></blockquote></div><br></div></div>
<div class="gmail_extra">
amq-protocol does the same for Ruby.<br></div><div class="gmail_extra"><br clear="all"></div><div class="gmail_extra">Producing a C library that does the same is a good idea. Designing it to support<br>all languages and popular OSes equally well is likely not be easy.<span class="HOEnZb"><font color="#888888"><br>
</font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></font></span></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>