An idea for an implementation without a proto-compiler

2009-02-14 Thread h . a . syed
Hi Guys, I have started lightly browsing over the source code of the implementation of protocol buffers, I have built a high performance telemetry system as part of my research, this includes a custom messaging system with a over the wire format. I have been considering rewriting the system to

Re: An idea for an implementation without a proto-compiler

2009-02-14 Thread Kenton Varda
Hi Hassan, The protocol buffers library actually contains a class called DynamicMessage in C++ and Java which works more like what you describe. There's two reasons that we prefer the generated classes: * They are an order of magnitude faster than DynamicMessage. Generated code can be made