Re: [protobuf] Re: exchanging c# protobufs with native (c++) code with minimal performance hit

2017-05-29 Thread Mike Bennett
Hmm. Ok, it's not what I was hoping for, but kinda what I expected. Thanks for the response, Jon! -m On May 29, 2017 5:56 AM, "Jon Skeet" wrote: No, the in-memory representation of a C# message is in no way related to the serialized representation. If your C++ code is just

[protobuf] Re: No headers included in the cmake-generate project

2017-05-29 Thread Dennis Cappendijk
And done @ https://github.com/google/protobuf/pull/3149 On Friday, May 26, 2017 at 4:01:19 PM UTC+2, Dennis Cappendijk wrote: > > Hi, > > I was wondering whether there was a specific reason not to generate all > headers into the cmake projects. > It's terribly clumsy to use IDE

[protobuf] online .proto parser available

2017-05-29 Thread Marc Gravell
Hey all; I've been doing some work with protobuf-net lately to bring it up to date with proto3, "timestamp", and all those things. As part of that, I've been reworking my entire code-gen pipeline, with the result that I accidentally wrote an interactive online editor while I was avoiding

[protobuf] Re: exchanging c# protobufs with native (c++) code with minimal performance hit

2017-05-29 Thread Jon Skeet
No, the in-memory representation of a C# message is in no way related to the serialized representation. If your C++ code is just sending the serialized protobuf though, I don't think you'd need to deserialize in the C++ code - just serialize in C#, pass the byte array to the C++ code, and get