News for hackers. Stuff that matters.
Re:Amazon open-sources Ion – a binary and text interchangabl... by jonhohle on Thursday April 21, 2016 @11:17PM (#11546848)
One significant advantage is you can opt-in to sharing schemas - without requiring all consumers to have your schema. Like a lot of Amazon's internal data formats, Ion designed to support backwards compatible schemas as well (that is, adding additional fields does not break existing consumers).

It has isomorphic text and binary representations as part of the standard making debugging or optimized transport a config option.

The type system is significantly richer than JSON and maps well to several languages (internally Amazon uses it with C, C++, Perl, Java, Ruby, etc.).

S-Expressions.

Re:Amazon open-sources Ion – a binary and text interchangabl... by tantalor on Thursday April 21, 2016 @11:32PM (#11546894)
> without requiring all consumers to have your schema

Then how is the client supposed to handle the data? Guessing?

> backwards compatible schemas

> text and binary representations

> type system

> maps well to several languages

Protos have all these.

> S-Expressions

Okay? Is that useful?

Re:Amazon open-sources Ion – a binary and text interchangabl... by swaranga on Sunday April 24, 2016 @05:15AM (#11559060)
>> S-Expressions >>Okay? Is that useful

Yes, super useful. Depends on how your application needs to use S-expressions. You could define DSLs for a very expressive and complex rules-engine with S-Expressions forming your rules. Now you can write your rules as text, pass it around and build rule evaluators of those expressions all on top of Ion.

Re:Amazon open-sources Ion – a binary and text interchangabl... by mattdeboard on Friday April 22, 2016 @12:37AM (#11547079)
> Okay? Is that useful?

I bet it's super useful if you have sexprs in your data.

Re:Amazon open-sources Ion – a binary and text interchangabl... by jonhohle on Friday April 22, 2016 @01:16AM (#11547196)
It's interesting to have languages written for and in the same specification as your data.