[zeromq-dev] Guide upgrade to 3.1

john skaller skaller at users.sourceforge.net
Wed Jan 18 01:58:37 CET 2012


On 18/01/2012, at 5:49 AM, Pieter Hintjens wrote:

> On Tue, Jan 17, 2012 at 7:27 AM, john skaller
> <skaller at users.sourceforge.net> wrote:

>> I would consider adding Felix to the set of languages, however I do not
>> wish to support version 2.x.
> 
> You should be able to support 2.x and 3.1 transparently, other
> bindings do this. There are a few examples in the Guide that need to
> be removed for 3.1 but most are correct as-is.

I will have a look, but if there are any differences other than addition of
new functions and options it won't be possible. The Felix binding:

http://felix-lang.org/lib/std/io/zmq.flx

binds directly and exactly to the Zmq 3.1 C interface, right down to a precise
list of socket options and their arguments, for example, so unless 2.1 is
a strict subset zmq code written to 2.1 standards, it won't work.

It's not clear there's any point. At this stage only a Techno Weanie (TM)  would 
try to use Felix, and they'd have to be a True Geek (TM)  to use it together with
ZeroMQ,  and such a weanie would only be happy with the latest and
greatest ZeroMQ version, and should have no trouble getting it .. :)


> 
> I'd recommend you fork the repo, as everyone does, and translate those
> examples you can into Felix.

Done. Forked zmqlib and the zguide .. this time managed to build the libzmq
without a libtool problem :)

Since I already have hwserver.flx and hwclient.flx, can I try to add them?
[I guess I'll need Pygment colouring for Felix as well?]

--
john skaller
skaller at users.sourceforge.net







More information about the zeromq-dev mailing list