On Jul 15, 10:12 am, Torbjörn Gyllebring
<
torbjorn.gyllebr...@gmail.com> wrote:
> Seems like a really nice idea and personally I think it's neat to see
> multiple implementations gives ample oppurtunity for cross-pollination
> and let us (the community) experiment with diffrent designs and tradeoffs.
Agreed. (It helps that I've worked with Marc in the past, and enjoyed
the fruits of his labour :)
> @any googler:
> Would be really nice if some sort of compliance test suite was
> available for implementors is that possible?
That suggests more of a common API than may be the case. What may be
more feasible is to have some common artifacts that enable each
implementor to easily write their own compliance test suite :)
An obvious example would be a set of .protos, a description of values
to include in them, and then golden files to say "this is what the
serialized version should look like". From there it's pretty easy to
write unit tests to verify that each implementation can read and write
correctly. I believe some of this exists already (there are certainly
protos geared towards unit tests) but I don't know how comprehensive
it is. This would also go hand-in-hand with a performance benchmarking
suite.
Jon