I considering using protocol buffers to communicate between a PC and a
16 but embedded environment (using C++). Protocol buffers support only
32 bit ints, known as longs on on the embedded platform.
I'm imagining I can either
1) include some conditonal typdefs to sort this out, on the embedded
I have no answer to your question, but consider using the c version
instead of c++. For my application it meant reducing code size (with
libprotobuf statically linked) from 800kb to approx 80kb.
/Magnus
-Original Message-
From: protobuf@googlegroups.com [mailto:proto...@googlegroups.com
Unfortunately I don't think the C++ protobuf implementation is likely to
work very well on a 16-bit platform, since it's not optimized for those kind
of constraints.
Which ints do you need to redefine? If your messages are never more than
32767 bytes then you might get away without changing anythi
Cool, I've added this to the wiki:
http://code.google.com/p/protobuf/wiki/RPCImplementations
On Sun, Feb 8, 2009 at 10:13 PM, Shar wrote:
>
> Hi,
>
> I was looking a simple java socket based client-server implementation
> of protobuf rpcs and couldn't find one so I went ahead an wrote one
> up.
Thanks Kenton, Magnus,
On a closer look I see your points. I neither have the code space
available nor the necessary feature support in the embedded C++
compiler to handle the generated code or rebuild the lib. Even at 80Kb
(for protoc_c) that's a fair proportion of available RAM gone. I'm
back t
Oh, to clarify - it is the total size of my app that is 80kb, try to build it
on your target to find out the size cost in your case
/Magnus
-Original Message-
From: protobuf@googlegroups.com [mailto:proto...@googlegroups.com] On Behalf Of
shaw.softw...@gmail.com
Sent: den 9 februari 2
2009/1/29 bart van deenen
>
> Hi Kenton
>
> Here's the details:
>
> kubu:~$ protoc --version
> libprotoc 2.0.3
> kubu:~$ python -V
> Python 2.5.2
>
> This is a self-compiled protoc (because I had added the actionscript
> output generator). I actually find in CHANGES.txt for 2.0.2 that the
> "Stri
Thanks, can you put (Java) next to my project link and (Python) next to the
3rd link to make it easy for people to pick?
Shardul
On Mon, Feb 9, 2009 at 9:39 AM, Kenton Varda wrote:
> Cool, I've added this to the wiki:
> http://code.google.com/p/protobuf/wiki/RPCImplementations
>
> On Sun, Feb 8
Done. Though hopefully someone will write a cross-language RPC
implementation...
On Mon, Feb 9, 2009 at 1:41 PM, Shardul Deo wrote:
> Thanks, can you put (Java) next to my project link and (Python) next to the
> 3rd link to make it easy for people to pick?
>
> Shardul
>
>
> On Mon, Feb 9, 2009