-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] use github.com/DeDiS/protobuf for ser/de operations #8
Comments
i was using protocol buffers (PB) and recently started to use FlatBuffers (FB) for perf reasons. http://google.github.io/flatbuffers/ if seems a good match this Glow, and i am curious on your thoughts. I also liked the ability to serialise between FB and JSON. This allows the data types to be reused in the any web layer for a application. |
Protocol Buffer or Flat Buffer need definition and code generation. They could be used to customize ser/de. The default ser/de should not need any additional steps. |
ok. I need to look into the code to see how your doing it. I guess its reflection based ? |
Fyi: The package was renamed to |
if you really want to use DeDiS/protobuf, |
The affected code is only within this file:
https://github.com/chrislusf/glow/blob/master/io/channels.go#L77
and
https://github.com/chrislusf/glow/blob/master/io/channels.go#L54
I tried to use github.com/DeDiS/protobuf, but it can not handle reflect.Value.
The text was updated successfully, but these errors were encountered: