Orange 1.0.0 beta - serialization library

Jacob Carlborg doob at me.com
Sun Aug 21 23:29:38 PDT 2011


On 2011-08-21 23:16, Masahiro Nakagawa wrote:
> On Sun, 21 Aug 2011 05:28:33 +0900, Jacob Carlborg <doob at me.com> wrote:
> 
>> On 2011-08-20 19:45, dsimcha wrote:
>>> On 8/20/2011 12:50 PM, Andrej Mitrovic wrote:
>>>> Masahiro Nakagawa seems to be working on msgpack:
>>>> https://bitbucket.org/repeatedly/msgpack4d/
>>>
>>> Yeah, this does look quite useful. I tried it a few weeks ago and ran
>>> into a couple showstopper bugs. I filed them and he fixed them, but I
>>> never got around to trying it again.
>>>
>>> I actually think that since both are very commonly needed things and
>>> satisfy completely different niches, Orange and msgpack4d might both
>>> eventually have a rightful place in Phobos. Orange would be recommended
>>> when portability and serializing as many types as possible are
>>> important, and msgpack4d would be recommended when speed and space
>>> efficiency are the primary concerns.
>>
>> If it's possible to extract a value given a key with messagepack I 
>> think it would be possible to use messagepack as an archive for 
>> Orange. Since messagepack supports maps every type Orange can 
>> serialize should be possible serialize with messagepack, although 
>> probably not as efficient as "regular" messagepack.
>>
> 
> I agree.
> Unfortunately, Orange with MessagePack decreases MessagePack merits...

I suspected that.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list