Skip to content

round-trip serialization for interfaces defined in proto, e.g. autobeans

License

Notifications You must be signed in to change notification settings

0xCopy/prautobeans

Repository files navigation

prautobeans

this project was written with the following goals in mind

  1. enable an alternative autobeans marshalling and proxy codebase
    1. on serverside
    2. use a jdk8 baseline
    3. soon gwt 2.7 client, with bytebuffers
  2. marshal a binary encoding
    1. that packs element sizes into bytes, or 32-bit ints when >254, and someday never, longs
    2. that packs booleans into bits,
    3. that packs nulls into bits (or adds one bit to non-null nullables)
    4. that packs a DAG of proto defined objects
    5. DirectByteBuffer compatibility for zero-copy IO, to solve a need for Direct IO where existing proto based generators to date rely on heap based byte[]
  3. use maven to generate src/main/proto into the above autobeans and marshalling proxies
  4. heap-averse and compact code, c-like, suitable for a c++ interop port in the near-term

About

round-trip serialization for interfaces defined in proto, e.g. autobeans

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published