<oembed><type>rich</type><version>1.0</version><author_name>npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_name><author_url>https://nostr.ae/npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2016-06-21&#xA;📝 Original message:On Tue, Jun 21, 2016 at 08:44:37PM +0000, Luke Dashjr via bitcoin-dev wrote:&#xA;&gt; On Monday, June 20, 2016 5:33:32 PM Erik Aronesty via bitcoin-dev wrote:&#xA;&gt; &gt; BIP 0070 has been a a moderate success, however, IMO:&#xA;&gt; &gt; &#xA;&gt; &gt; - protocol buffers are inappropriate since ease of use and extensibility is&#xA;&gt; &gt; desired over the minor gains of efficiency in this protocol.  Not too late&#xA;&gt; &gt; to support JSON messages as the standard going forward&#xA;&gt; &#xA;&gt; IMO JSON is too prone to gratuitous inefficiency (both at network and CPU &#xA;&gt; level), parser bugs, etc. Even the best C implementation (jansson) has serious &#xA;&gt; issues with Number handling.&#xA;&gt; &#xA;&gt; A few years ago, I looked into binary alternatives to JSON and concluded they &#xA;&gt; all had problems, while it seems more than reasonable to do even dynamic &#xA;&gt; parsing of protobuf messages. So to conclude, I prefer to stick to protobuf &#xA;&gt; unless a clearly superior protocol turns up.&#xA;&#xA;I&#39;ll second that statement.&#xA;&#xA;Ease of use isn&#39;t a very good criteria for security-critical software handling&#xA;money, and the JSON standard has a very large amount of degrees of freedom in&#xA;how people have implemented it historically. Even protobuf I&#39;d personally avoid&#xA;using on that basis, as protobuf encoding isn&#39;t deterministic: you can encode&#xA;the same data in multiple ways.&#xA;&#xA;Unfortunately there isn&#39;t a viable alternative, so we&#39;re probably stuck with&#xA;protobuf right now for standards that want to see wide adoption in the near&#xA;future; I&#39;ve got a few projects that need an alternative, which I&#39;m working on,&#xA;but that&#39;s a ways off.&#xA;&#xA;-- &#xA;https://petertodd.org &#39;peter&#39;[:-1]@petertodd.org&#xA;-------------- next part --------------&#xA;A non-text attachment was scrubbed...&#xA;Name: signature.asc&#xA;Type: application/pgp-signature&#xA;Size: 455 bytes&#xA;Desc: Digital signature&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20160621/ab86e67e/attachment.sig&gt;</html></oembed>