Does the "spec" give any guarantee about the order that fields are
serialized or is that implementation defined?
For the next release, should we expect a turnkey parser to solve the
issue of parsing messages from sockets?
Thanks,
Jean
Ice is GPL
You write a Slice file, much like the .proto file, that describes the
structures, classes and interfaces for the RPC system and it'll generate C++,
Java, Python, Ruby, C# code (using slice2py, slice2cpp, etc) which you extend to
implement the RPC functionality.
One of the coolest things with it is that with a Slice file, in Python you can do
Ice.loadSlice('path/to/foo.slice')
import foo
and you have all your RPC right there, there's no slice2py and compiling of code
required. The Python Ice module is a wrapper around the C++ library so its
pretty fast. You can write a client or server in Python in Ice.
It handles synchronous and asynchronous method calls.
Anyway, as you can tell I'm really happy with Ice, it's just how to deal with
versioning of the messages after you've deployed and you realize you need to add
an additional field that ones gets a little stuck.
Regards,
Blair
Kenton Varda wrote:
> Sorry, that's the job of the RPC system, which is outside the scope of
> protocol buffers. (But perhaps someone will write and release a good,
> open source RPC system on top of protocol buffers.)
>
> On Tue, Jul 15, 2008 at 1:46 PM, Jean-Sebastien Stoezel
> <js.st...@gmail.com <mailto:js.st...@gmail.com>> wrote:
>
>
> Hi,
>
> For the next release, should we expect a turnkey parser to solve the
> issue of parsing messages from sockets?
>
> Thanks,
> Jean
>
> On 7/15/08, Alek Storm <alek....@gmail.com
> <mailto:alek....@gmail.com>> wrote:
> >
> > On Jul 15, 1:31 pm, Torbjörn Gyllebring
> > <torbjorn.gyllebr...@gmail.com
> <mailto:torbjorn.gyllebr...@gmail.com>> wrote:
> > > For some additional ideas look
> here:http://groups.google.com/group/protobuf/browse_thread/thread/b1da210c...
> > >
> > > Does the "spec" give any guarantee about the order that fields are
> > > serialized or is that implementation defined?
> > >
> > > On 15 Juli, 20:24, "Kenton Varda" <ken...@google.com
I cant imagine maintaining a codebase that includes .proto and .idl
files
for every instance of IPC.
Lastly - all this talk of RPC assumes a synchronous model for network
messaging. For me thats just too constraining. Just confirming that
your
intention was to implement sync code.
The domain that PB operates in is now clearer. Is it not making itharder than
necessary (i.e. for chosen network messaging technique) if PB
encodings are not
self-describing and hence self-terminating? I raise this question
because that
appears to be a significant issue in this thread. And because I have
been banging
my head against this for years.