{"action":"created","issue":{"url":"https://api.github.com/repos/sakrejda/protostan/issues/37","repository_url":"https://api.github.com/repos/sakrejda/protostan","labels_url":"https://api.github.com/repos/sakrejda/protostan/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/sakrejda/protostan/issues/37/comments","events_url":"https://api.github.com/repos/sakrejda/protostan/issues/37/events","html_url":"https://github.com/sakrejda/protostan/issues/37","id":135427656,"number":37,"title":"Binary protobuf writer","user":{"login":"sakrejda","id":508137,"avatar_url":"https://avatars.githubusercontent.com/u/508137?v=3","gravatar_id":"","url":"https://api.github.com/users/sakrejda","html_url":"https://github.com/sakrejda","followers_url":"https://api.github.com/users/sakrejda/followers","following_url":"https://api.github.com/users/sakrejda/following{/other_user}","gists_url":"https://api.github.com/users/sakrejda/gists{/gist_id}","starred_url":"https://api.github.com/users/sakrejda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakrejda/subscriptions","organizations_url":"https://api.github.com/users/sakrejda/orgs","repos_url":"https://api.github.com/users/sakrejda/repos","events_url":"https://api.github.com/users/sakrejda/events{/privacy}","received_events_url":"https://api.github.com/users/sakrejda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-22T14:10:49Z","updated_at":"2016-02-29T19:34:39Z","closed_at":null,"body":"To check on how much CPU is chewed up going from Eigen data types to Protocol Buffers in practice, do a simple writer which:\r\n- [x] constructs the correct protocol buffers messages\r\n- [x] writers messages delimited according to stream using [Varda's code](http://stackoverflow.com/a/22899712)\r\n- [ ] write tests to check binary format is round-trip-able after read for each message type.\r\n- [ ] fork/hack CmdStan a little to do a comparison of this versus .csv output."},"comment":{"url":"https://api.github.com/repos/sakrejda/protostan/issues/comments/190348756","html_url":"https://github.com/sakrejda/protostan/issues/37#issuecomment-190348756","issue_url":"https://api.github.com/repos/sakrejda/protostan/issues/37","id":190348756,"user":{"login":"sakrejda","id":508137,"avatar_url":"https://avatars.githubusercontent.com/u/508137?v=3","gravatar_id":"","url":"https://api.github.com/users/sakrejda","html_url":"https://github.com/sakrejda","followers_url":"https://api.github.com/users/sakrejda/followers","following_url":"https://api.github.com/users/sakrejda/following{/other_user}","gists_url":"https://api.github.com/users/sakrejda/gists{/gist_id}","starred_url":"https://api.github.com/users/sakrejda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sakrejda/subscriptions","organizations_url":"https://api.github.com/users/sakrejda/orgs","repos_url":"https://api.github.com/users/sakrejda/repos","events_url":"https://api.github.com/users/sakrejda/events{/privacy}","received_events_url":"https://api.github.com/users/sakrejda/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T19:34:39Z","updated_at":"2016-02-29T19:34:39Z","body":"pft, looks like having to use a bespoke method for serializing to file (write a varint32 for length, then write the message, then write varint32, then write message, etc...) makes it so that needs to be duplicated on the interface end too.  At least it should be straightforward with CmdStan/ServeStan but I can't wait till [this](https://github.com/google/protobuf/pull/710) is merged into protobuf"}}