[protobuf] Re: [grpc-io] Re: GRPC and Ruby, Proto language level 2

2016-01-15 Thread Josh Humphries
I think that would be great. Thanks, Tim! *Josh Humphries* Manager, Shared Systems | Platform Engineering Atlanta, GA | 678-400-4867 *Square* (www.squareup.com) On Fri, Jan 15, 2016 at 11:49 AM, Tim Emiola wrote: > Hi Eric, > > We never actually published it - I'll clean up the patch I

[protobuf] Re: Faster way to convert C++ protobuf into a Python protobuf?

2016-01-15 Thread Emmanuel Decitre
Hi Philipp, I am exposing the generated C++ classes to my Python code through cython. It works pretty well, and I could use the CodedInputStream and GzipInputStream classes too. For this you have to develop a couple of .pyx and .pxd files around the generated .cpp code. Cheers Emmanuel On Thu

Re: [protobuf] Strings and Arenas

2016-01-15 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Jan 14, 2016 at 6:06 PM, Austin Schuh wrote: > Hi, > > I've got an application where I can't allocate memory while using > protobufs. Arenas have been awesome for doing that. I'm able to allocate > a big block of memory at startup time or stack allocate memory for the > arena, and then

Re: [protobuf] Strings and Arenas

2016-01-15 Thread Austin Schuh
On Fri, Jan 15, 2016 at 11:32 AM Feng Xiao wrote: > On Thu, Jan 14, 2016 at 6:06 PM, Austin Schuh > wrote: > >> Hi, >> >> I've got an application where I can't allocate memory while using >> protobufs. Arenas have been awesome for doing that. I'm able to allocate >> a big block of memory at st

Re: [protobuf] Strings and Arenas

2016-01-15 Thread 'Feng Xiao' via Protocol Buffers
On Fri, Jan 15, 2016 at 11:50 AM, Austin Schuh wrote: > On Fri, Jan 15, 2016 at 11:32 AM Feng Xiao wrote: > >> On Thu, Jan 14, 2016 at 6:06 PM, Austin Schuh >> wrote: >> >>> Hi, >>> >>> I've got an application where I can't allocate memory while using >>> protobufs. Arenas have been awesome fo

Re: [protobuf] Strings and Arenas

2016-01-15 Thread Austin Schuh
On Fri, Jan 15, 2016 at 1:30 PM Feng Xiao wrote: > On Fri, Jan 15, 2016 at 11:50 AM, Austin Schuh > wrote: > >> On Fri, Jan 15, 2016 at 11:32 AM Feng Xiao wrote: >> >>> On Thu, Jan 14, 2016 at 6:06 PM, Austin Schuh >>> wrote: >>> Hi, I've got an application where I can't allocat

Re: [protobuf] Strings and Arenas

2016-01-15 Thread 'Feng Xiao' via Protocol Buffers
On Fri, Jan 15, 2016 at 4:37 PM, Austin Schuh wrote: > > > On Fri, Jan 15, 2016 at 1:30 PM Feng Xiao wrote: > >> On Fri, Jan 15, 2016 at 11:50 AM, Austin Schuh >> wrote: >> >>> On Fri, Jan 15, 2016 at 11:32 AM Feng Xiao wrote: >>> On Thu, Jan 14, 2016 at 6:06 PM, Austin Schuh wrote:

[protobuf] Issues with proto2 and proto3 language specifications

2016-01-15 Thread James Hugard
I would like to humbly request that the Protocol Buffers Reference pages be updated to reflect the current language definition(s): specifically, to correct the following issues with the Proto2 and Proto3