develooper Front page | perl.perl5.porters | Postings from December 2012

Re: cPanel version of "Storable 2.39_01" breaks backwards compatibility

Thread Previous | Thread Next
From:
Reini Urban
Date:
December 27, 2012 21:11
Subject:
Re: cPanel version of "Storable 2.39_01" breaks backwards compatibility
Message ID:
CAHiT=DEXqEMVxtnb44zqqjcpk+Vize6B1Jv6BBsQNiPRMvk3Jw@mail.gmail.com
On Thu, Dec 27, 2012 at 11:41 AM, Todd Rinaldo <toddr@cpanel.net> wrote:
> On Dec 27, 2012, at 10:50 AM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
>
>> I'm curious as to why you're using Storable at all if you don't
>> support the deserialization of objects, to preserve things like UTF-8
>> flags and binary data?
>
> Speed. We would prefer JSON::XS or some other faster serializer, but at the moment, we're limited by Perl 5.6.2, which is not JSON::XS compatible. This Perl is the newest we can reliably make binaries against at the moment. We plan to remedy this in 2013. Shipping a set of Perl 5.14.3 RPMs as part of cPanel was the first part of this plan.


I tried to backport JSON::XS to v5.6 but was not quite successful
because of overload issues with the old 5.6 compiler.
https://github.com/rurban/Cpanel-JSON-XS

Our current serializer candidates are Sereal and Data::MessagePack
with some extensions.
booking.com efforts really came handy.
-- 
Reini Urban
http://cpanel.net/   http://www.perl-compiler.org/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About