[zeromq-dev] [PATCH] Common Lisp binding: handy 'msg-rebuild' method
Kamil Shakirov
kamils80 at gmail.com
Thu Oct 7 17:49:24 CEST 2010
Ok, lets wait for the next major release. I am all for changes to make
it better.
On Thu, Oct 7, 2010 at 10:35 PM, Vitaly Mayatskikh
<v.mayatskih at gmail.com> wrote:
> At Thu, 7 Oct 2010 19:26:53 +0700, Kamil Shakirov wrote:
>
>> Would it be great if we could reuse created messages, similar to
>> zmq::message_t::rebuild() method found in 0MQ C++ binding. The patch
>> is attached.
>
> IMO, it is more lispy to define setf functions for msg-data-as-foo and
> modify msg objects by setf.
>
> Perhaps, it is also a good idea to replace a variety of msg-data-as-*
> by one msg-data, which takes keyword argument :array, :string,
> etc. However, I'm reluctant to make such change in 2.0. Fore coming
> API-incompatible version (2.1 or 3.0) is a right places to do API
> change in cl-zmq also.
>
> Oh, well! It is also a good idea to get rid of CLOS object wrapper and
> switch to structure, it is much faster...
>
> And rewrite consy poll... ;)
>
> --
> wbr, Vitaly
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
--
--ska
More information about the zeromq-dev
mailing list