-
Notifications
You must be signed in to change notification settings - Fork 12
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
exploration: Agoric marshal types, protobuf, rholang data types #19
Comments
Hm, there's a lot of stuff in ...either way, we really should nail down the data model before we devote too may cycles to specific encodings. |
sure; I don't propose to use the whole thing. Just the relevant parts.
I don't know how to nail down abstract things; only running code that I can test. After all, .proto is abstract in that it has at least 3 concrete syntaxes. (JSON, text, binary) |
doubt this is worth tracking going forward |
As @erights was presenting Agoric marshal types and such in the ZEstival last week, I said it's remarkable how much it looks like the data types in rholang: immutable lists, sets, maps, etc. as well as matching and sorting.
Based on some some type-directed prototyping (marshal-rhoproto.js in service of rchain-community/js2rho#16 , I think using RhoTypes.proto for interchange is promising, though I doubt the matching and sorting semantics are consistent between Agoric and RChain in the details. I haven't tried a serializing matchers in such a way that they would show up as matchers in rholang yet. That would be a good test.
cc @cwebber @kriskowal
The text was updated successfully, but these errors were encountered: