News for hackers. Stuff that matters.
Re:XML vs. Google's new protobufs by bayareaguy on Thursday July 10, 2008 @08:07PM (#243068)
However although I do see wire format documentation on Google's site, I don't see an actual BNF grammar anywhere and that makes me nervous.

So what? The .proto file may not be a BNF grammar but it tells an application what to expect and presumably the generated code can check for validity. e.g.

  message Person {
    required int32 id = 1;
    required string name = 2;
    optional string email = 3;
  }
Is that really any different from

  <Person> ::= <id> <name> | <id> <name> <email>
  ...

?
Re:XML vs. Google's new protobufs by moocha on Thursday July 10, 2008 @12:28PM (#242590)
Mr. Harold is missing the point here. Protocol buffers are not meant to replace XML as a "public" API transport, they are meant to replace it on backend solutions, where one entity controls both endpoints.