You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2015/09/30 18:31:04 UTC
[jira] [Reopened] (THRIFT-424) Steal ProtocolBuffers' VarInt
implementation for C++
[ https://issues.apache.org/jira/browse/THRIFT-424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell reopened THRIFT-424:
---------------------------------
> Steal ProtocolBuffers' VarInt implementation for C++
> ----------------------------------------------------
>
> Key: THRIFT-424
> URL: https://issues.apache.org/jira/browse/THRIFT-424
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Reporter: David Reiss
> Priority: Minor
> Fix For: 0.9.3
>
>
> Protocol Buffers use the same varint format as TCompactProtocol (not, as I had previously believed, TDenseProtocol, which uses the MIDI VLQ format). They have a much smarter C++ decoder than ours (and probably a better encoder also). Protocol Buffers is (are?) three-clause BSD licensed, which means that we should be able to *cough* borrow *cough* their implementation and use it for our C++ TCompactProtocol implementation.
> We might even be able to do the same for Java and Python.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)