On 29 November 2017 at 19:18, Sven Anderson <[email protected]> wrote: > >> Am 28.11.2017 um 13:06 schrieb Anil Madhavapeddy <[email protected]>: >> >> For this usecase, you may also want to look at the Capnproto OCaml bindings, >> since they provide a serializable capability RPC model that is probably >> useful to tracking the provenance of keys as they flow through the system. >> > > This looks interesting indeed! Would it make sense to write an > irmin-capnproto as an alternative to irmin-http?
Yes, this would be an ideal use for it! For anyone interested, there is a tutorial here: https://github.com/mirage/capnp-rpc > And wouldn’t that also be a good storage format for values then? Yes. It might be slightly less compact than some other binary formats, but it allows many backwards-compatible changes to the schema to be made, which can be useful. > Unfortunately irmin seems to only support text based values, not binaries, > because value types always require a string serializers. OCaml strings are just byte-arrays anyway, so this might not matter (I'm not sure; I'm still trying to upgrade my software from Irmin 0.10...). -- talex5 (GitHub/Twitter) http://roscidus.com/blog/ GPG: 5DD5 8D70 899C 454A 966D 6A51 7513 3C8F 94F6 E0CC _______________________________________________ MirageOS-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/mirageos-devel
