[ale] Programming and preferred languages?

leam hall leamhall at gmail.com
Fri Feb 3 12:09:20 EST 2017


On Fri, Feb 3, 2017 at 11:25 AM, Byron Jeff <byronjeff at clayton.edu> wrote:

>
> Chris,
>
> I too took a tour of config file formats specifically for an IoT project.
> Specifically connecting Google Home to home built RasPi Zero endpoints
> using MQTT as the data transport. I just added 433Mhz remote outlets to the
> mix too. Upshot is that the endpoints need to be configured to know which
> MQTT topics to monitor for updates.
>
> The two I took a look at are YAML (http://yaml.org) and TOML
> (https://github.com/toml-lang/toml). Both have a design goal in mind to be
> human readable/writable while also being machine parsable. While JSON is
> great for machine to machine transactions, the others are better when you
> need to hand write a config in a text file. For me TOML looks like the
> winner.
>
> BAJ
>
>
>

While it doesn't meet your human readable need, unless you have the code,
the Google SRE document talked about their Protocol Buffers which is
supposed to be much smaller and faster than XML.

https://developers.google.com/protocol-buffers/

Leam

-- 
Mind on a Mission <http://leamhall.blogspot.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170203/82a1a156/attachment.html>


More information about the Ale mailing list