[
https://issues.apache.org/jira/browse/THRIFT-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935020#comment-14935020
]
Jens Geyer commented on THRIFT-3359:
------------------------------------
It is mandatory because some external entity said so. I don't want to start a
flamewar about up to two bytes padding, but honestly, we have a very specific
context (the layout of binary data specific to the JSON protocol of Apache
Thrift) here. And one of the core values of Thrift is efficiency w/regard to
transmitting data.
Either way, more important IMHO is that we can read both flavours. That in
essence renders the whole padding debate invalid and ensures maximum
compatibility.
> Binary field incompatibilities
> ------------------------------
>
> Key: THRIFT-3359
> URL: https://issues.apache.org/jira/browse/THRIFT-3359
> Project: Thrift
> Issue Type: Bug
> Components: C# - Library, C++ - Library, Java - Library, JavaScript
> - Library, Node.js - Library, Python - Library
> Affects Versions: 0.9.3
> Reporter: Nobuaki Sukegawa
> Assignee: Nobuaki Sukegawa
> Fix For: 0.9.4
>
>
> Binary fields in TJSONProtocols of many languages are incompatible to each
> other.
> Also, those in all protocols of NodeJS cannot reliably talk to other
> languages.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)