Linked by David Adams on Wed 9th Jul 2008 17:24 UTC, submitted by stonyandcher
Internet & Networking Google has open-sourced its protocol buffers, the company's lingua franca for encoding various types of data, in order to set the stage for a wave of new releases, according to official company blog posts and documents reported in this article. "Practically everyone inside Google" uses protocol buffers, states a FAQ page. "We have many other projects we would like to release as open source that use protocol buffers, so to do this, we needed to release protocol buffers first."
Order by: Score:

Comment by Kroc
by Kroc on Wed 9th Jul 2008 17:49 UTC
Kroc
Member since:
2005-11-10

This is good stuff. Proper beard-powered engineering.
I looked through the spec and this is built for speed, compactness, portability and compatibility.

I wonder if a compiler/interpreter can be ported to the web (PHP/JS/Ruby &c.), it would be very interesting to process back-end data-streams on the front-end this way.

I might try a PHP port myself, PHP does have the necessary binary operators.

cool
by DirtyHarry on Wed 9th Jul 2008 17:57 UTC in reply to "Comment by Kroc"
DirtyHarry Member since:
2006-01-31

We're already downloaded it to have a look at it. Although it's basically 'nothing new', what I really like is the simplicity of the IDL language, the .proto files.

I wonder if there's a dissector for Wireshark already?

RE: cool
by tomcat on Thu 10th Jul 2008 01:13 UTC in reply to "cool"
tomcat Member since:
2006-01-06

We're already downloaded it to have a look at it. Although it's basically 'nothing new', what I really like is the simplicity of the IDL language, etc


You are aware that IDL is, like, 20 years old, right?

Edited 2008-07-10 01:31 UTC

RE[2]: cool
by DirtyHarry on Thu 10th Jul 2008 05:57 UTC in reply to "RE: cool"
DirtyHarry Member since:
2006-01-31

As I said, 'nothing new'. So yes I'm aware of that. The problem with many IDL's is the complexity. And if you have a company with a bunch of C/C++ developers (like we do) then the Protocol Buffers IDL is attractive and certainly not intimidating.

Regards Hary

Good but
by ahmetaa on Wed 9th Jul 2008 20:14 UTC
ahmetaa
Member since:
2005-07-06

i see this as a nice and robust wire protocol. But i wish the steps to produce the classes or instantiate objects for java could be fewer. it gives a feeling this was prepared for C++ initially. i will give a try anyway.

There is another protocol and RPC mechanism called Hessian, which is also a binary transfer protocol, and it does not require any external configuration or code generation. It also allows method invocation. However, Hessian suffers from bugs and lack of documentation. if anyone is interested in hessian, can check it here:
http://hessian.caucho.com/

Comment by stestagg
by stestagg on Wed 9th Jul 2008 21:12 UTC
stestagg
Member since:
2006-06-03

Please fix the link. I click on something that says 'Official company blog' and I get taken to PC World.

RE: Comment by stestagg
by Soulbender on Thu 10th Jul 2008 05:02 UTC in reply to "Comment by stestagg"
Soulbender Member since:
2005-08-18

Yeah, I didnt know PCWorld was the company blog for Google...

What's next?
by Howie S on Fri 11th Jul 2008 03:10 UTC
Howie S
Member since:
2005-07-14

> Google has prepared a download page that contains protocol buffer compilers for Java, C++ and Python.

So, Guido (van Rossum) has had a hand in this, somehow?

If this release is supposed to be a prelude to other future releases, anyone's guess as to what those other releases will be?