{"action":"created","issue":{"url":"https://api.github.com/repos/google/xi-editor/issues/514","repository_url":"https://api.github.com/repos/google/xi-editor","labels_url":"https://api.github.com/repos/google/xi-editor/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/google/xi-editor/issues/514/comments","events_url":"https://api.github.com/repos/google/xi-editor/issues/514/events","html_url":"https://github.com/google/xi-editor/issues/514","id":294360442,"number":514,"title":"Consider using Cap'n Proto for binary RPC","user":{"login":"ishitatsuyuki","id":12389383,"avatar_url":"https://avatars2.githubusercontent.com/u/12389383?v=4","gravatar_id":"","url":"https://api.github.com/users/ishitatsuyuki","html_url":"https://github.com/ishitatsuyuki","followers_url":"https://api.github.com/users/ishitatsuyuki/followers","following_url":"https://api.github.com/users/ishitatsuyuki/following{/other_user}","gists_url":"https://api.github.com/users/ishitatsuyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/ishitatsuyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ishitatsuyuki/subscriptions","organizations_url":"https://api.github.com/users/ishitatsuyuki/orgs","repos_url":"https://api.github.com/users/ishitatsuyuki/repos","events_url":"https://api.github.com/users/ishitatsuyuki/events{/privacy}","received_events_url":"https://api.github.com/users/ishitatsuyuki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T11:29:34Z","updated_at":"2018-02-05T13:52:33Z","closed_at":null,"author_association":"NONE","body":"[Cap'n Proto](https://capnproto.org/) is an efficient binary serialization and RPC protocol. Related to #131, but this proposes a different idea because Cap'n Proto is a schemed protocol, which uses a protocol definition file and enforces strong typing where possible.\r\n\r\nJSON RPC is really bad, and what Cap'n Proto does better are:\r\n- Faster, machine-friendly serialization\r\n- Strongly typed schema language with backwards compatibility\r\n- Optionally, saving round trips with time-traveling RPC\r\n\r\nPlease consider migrating to it. An active Rust implementation is [here](https://github.com/capnproto/capnproto-rust)."},"comment":{"url":"https://api.github.com/repos/google/xi-editor/issues/comments/363090437","html_url":"https://github.com/google/xi-editor/issues/514#issuecomment-363090437","issue_url":"https://api.github.com/repos/google/xi-editor/issues/514","id":363090437,"user":{"login":"leonardohn","id":11236344,"avatar_url":"https://avatars3.githubusercontent.com/u/11236344?v=4","gravatar_id":"","url":"https://api.github.com/users/leonardohn","html_url":"https://github.com/leonardohn","followers_url":"https://api.github.com/users/leonardohn/followers","following_url":"https://api.github.com/users/leonardohn/following{/other_user}","gists_url":"https://api.github.com/users/leonardohn/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardohn/subscriptions","organizations_url":"https://api.github.com/users/leonardohn/orgs","repos_url":"https://api.github.com/users/leonardohn/repos","events_url":"https://api.github.com/users/leonardohn/events{/privacy}","received_events_url":"https://api.github.com/users/leonardohn/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T13:52:33Z","updated_at":"2018-02-05T13:52:33Z","author_association":"NONE","body":"I think they have explained why using JSONRPC2 amongst all binary serialization formats, and it's because JSON is available on almost all platforms and languages. They could even use Protobuf, which is a binary serialization format from Google itself."}}
{"actor":{"display_login":"leonardohn"}}