T
Tobias Nissen
Hi,
I am unsure which data serialization format to use. I need a format that
also supports serialization of binary data.
A complete RPC-implementation, as in the case of Thrift, would be a
nice add-on. On the other hand I could do it myself and would have some
more control over what's happening under the hood.
Since it's pretty standard nowadays, I'd really like to use JSON, but
sending binary data over it could become quiet awkward.
What I am looking for is a stable, simple, proven and tested system,
which's Perl(!) implementation is in widespread use.
That's basically my question for this post. If you like to read on,
here's my findings so far...
I have made some tests with the official Perl-Implementation of Thriftâ°
and have not yet discovered any major issues that would prevent me from
using it. However, it lacks proper documenation and I am not entirely
convinced that the user-mailing list would be especially helpful, once
I dig deeper into it.
Protocol Buffers OTOH has robust implementations in some languages, but
apparantly Perl's not one of them. There's Google:
rotocolBuffers¹
which hasn't had a release since 2008 and is stuck at version 0.08. Then
there's protobuf-perl² -- which is dead. Last but not least there's
protobuf-perlxs³ which received two bug reports this year and had its
last commit in august last year.
BSON could be an alternative, but it's Perl-Implementation is, well,
minimalâ´.
BTW, I want a format with a large Perl user base in particular.
Best regards and TIA,
Tobias
_________
â° http://thrift.apache.org/
¹ http://search.cpan.org/~gariev/Google-ProtocolBuffers-0.08/lib/Google/ProtocolBuffers.pm
² http://code.google.com/p/protobuf-perl/
³ http://code.google.com/p/protobuf-perlxs/
â´ http://search.cpan.org/~minimal/BSON-0.03/lib/BSON.pm
I am unsure which data serialization format to use. I need a format that
also supports serialization of binary data.
A complete RPC-implementation, as in the case of Thrift, would be a
nice add-on. On the other hand I could do it myself and would have some
more control over what's happening under the hood.
Since it's pretty standard nowadays, I'd really like to use JSON, but
sending binary data over it could become quiet awkward.
What I am looking for is a stable, simple, proven and tested system,
which's Perl(!) implementation is in widespread use.
That's basically my question for this post. If you like to read on,
here's my findings so far...
I have made some tests with the official Perl-Implementation of Thriftâ°
and have not yet discovered any major issues that would prevent me from
using it. However, it lacks proper documenation and I am not entirely
convinced that the user-mailing list would be especially helpful, once
I dig deeper into it.
Protocol Buffers OTOH has robust implementations in some languages, but
apparantly Perl's not one of them. There's Google:
which hasn't had a release since 2008 and is stuck at version 0.08. Then
there's protobuf-perl² -- which is dead. Last but not least there's
protobuf-perlxs³ which received two bug reports this year and had its
last commit in august last year.
BSON could be an alternative, but it's Perl-Implementation is, well,
minimalâ´.
BTW, I want a format with a large Perl user base in particular.
Best regards and TIA,
Tobias
_________
â° http://thrift.apache.org/
¹ http://search.cpan.org/~gariev/Google-ProtocolBuffers-0.08/lib/Google/ProtocolBuffers.pm
² http://code.google.com/p/protobuf-perl/
³ http://code.google.com/p/protobuf-perlxs/
â´ http://search.cpan.org/~minimal/BSON-0.03/lib/BSON.pm