2014.07.18. 6:23, "Laruence" <[email protected]> ezt írta: > > Hey: > > > On Fri, Jul 18, 2014 at 11:11 AM, Laruence <[email protected]> wrote: > > Hey: > > > > > > On Mon, Jul 7, 2014 at 11:27 PM, <[email protected]> wrote: > >> Hi all, > >> > >> I am a developer currently with Alibaba inc. I want to host my extension in php.net. A few weeks ago, I emailed this mail list and was told that my codes needed some improvements because of my non-C89 code style and lacking test case. > >> > >> Since then I have made improvements accordingly and am requesting to publish the extension again. This extension is called BIN PACK. Here is the source code: https://github.com/binpack/binpack-php > >> > >> It’s a binary serialize format. Like JSON, It can be used to transfer data between languages. > >> It’s quite simple. Like JSON, it supports the basic data types: bool / null / int / double / string / blob / list / map. > >> It’s also fast. It may be the fastest serialize implementation in php. It is 25+ % faster than msgpack. > >> > >> This serialize data format, BIN PACK, is very suitable for RPC. In our company, there are lots of services written in Java and backend API and web page in PHP. BIN PACK is used to exchange data between JAVA and php. It’s simpler and faster than msgpack ; It is self-descritptive, which is quite different from other compression serialize formats such as ProtoBuffer. > >> > >> Listed below are some sites for your information: > >> Here’s my Github: https://github.com/liaohuqiu. > >> StackOverflow: http://stackoverflow.com/users/2446397/srain > >> Blog: http://www.liaohuqiu.net/ > >> > >> Thank you for your time. > > > > sorry for delay, I was quite busy recently :< > > > > from what I can see, actually bin pack and msgpack are very similar. > > > > and the performance are also very similar (msgpack did more logics). > > but msgpack pack supports more languages and have more usage already. > > > > so, to me, I prefer make bin pack and msgpack computable rather than > > make a new "bin formart serialize protocol"... > > > > what do your think? > I am not subjecting this to be list in PECL, that is my 2 cents > > Anyway, the codes seems clear, > > one suggest, if you don't need MINIT/RINIT , then remove them.. > > Tyrael, please have a look of this :)
Could you explain what do you mean compatible? do you mean binpack should you the same format as msgpack but only supporting the subset of the types? if thats possible and wouldn't require too much work I think it would be nice, but not mandatory for being allowed to pecl.
