Protocol Buffers (Protobuf) with Perl

I'm hoping to reach anyone using Protocol Buffers in Perl, soliciting their experiences and best practices.

A Googler is soliciting help on an official set of bindings just this year. Which is great!

There seems to be Google::ProtocolBuffers which is now 10 years old - I suspect it is not a good choice.

The Google::ProtocolBuffers::Dynamic seems like the best choice right now but wont compile for me on Debian Trixie. I haven't gone too deep in to why, but upb seems to be on a branch, is old, and fails to compile.

A colleague recently just for fun had Claude create a pure perl library that passes all the tests and dropped it on github.

I ask as have been experimenting with protoconf which builds on protocol buffers.

Related. I do like Thrift a lot and it seems to be maintained which is nice, but it seems to have failed to gain traction.


4 Comments

As far as Google::ProtocolBuffers::Dynamic goes, it seems to me that you should open an issue in its GitHub repository. While releases are not frequent, it does seem to be maintained.

I am working on a new, pure perl, Thrift implementation and then step to reading Parquet files. The module will be called Thrift::Compile.

Leave a comment

About Dean

user-pic I blog about Perl. I am back in Sydney