Skip to content
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

Protobuf Backend #75

Open
malarinv opened this issue Sep 27, 2019 · 2 comments
Open

Protobuf Backend #75

malarinv opened this issue Sep 27, 2019 · 2 comments

Comments

@malarinv
Copy link

Is there any plan to add protobuf/flatbuffer backend support?

@timbod7
Copy link
Collaborator

timbod7 commented Sep 28, 2019

It has always been my intention to add binary serialization support. However to date, json serialization has been appropriate for the projects where ADL has been used.

A challenge with binary serialization is that there are many tradeoffs to be balanced:

  • optimization for serialized data size
  • optimization of serialization speed (zero copies?)
  • serialized data backward compatibility guarantees

etc. Different use cases are going to have different requirements. Choosing just between protobuf/flatbuffer will depend on requirements.

In principle ADL could support both of these, and other binary formats, but it is a significant effort to implement multiple formats across multiple target languages.

@gmhta
Copy link
Contributor

gmhta commented Jan 22, 2020

@malarinv what is you use case? How much mileage would you get out of an adl -> protobuf generator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants