看板 FB_svn 關於我們 聯絡資訊
--9/eUdp+dLtKXvemk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2014 at 01:26:18PM -0700, Jordan Hubbard wrote: >=20 > On Jul 10, 2014, at 10:20 AM, David Chisnall <David.Chisnall@cl.cam.ac.uk= > wrote: >=20 > > This is important in a wider context. For example, in the project to a= dd machine-readable output to core utilities, we'd like to be able to parse= these into the same machine-readable format. Apple has the CoreFoundation= library for this, which provides a load of stuff, but most importantly num= ber, string, date, dictionary, and array types (i.e. the sorts of things th= at you'd want in JSON-like serialisation formats). >=20 > Just as important as CoreFoundation are APIs like CFPreferences. I find = it frankly horrifying that in the year 2014, anyone who writes a new daemon= or system service will have to invent their own ad-hoc configuration file = format in /etc (because, you know, there really aren't enough of them there= now) as well as their own out-of-band mechanism for detecting when the con= figuration data changes. Having a data serialization format would the first= step. >=20 We do have libucl in base for that purpose exactly. regards, Bapt --9/eUdp+dLtKXvemk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlO/J1wACgkQ8kTtMUmk6EyDsgCgiMMVIqMWVOudoUT8C18oz3lY 3iEAoKldTweAxtw+SehKVWKo8nBNabfF =DZhU -----END PGP SIGNATURE----- --9/eUdp+dLtKXvemk--