From owner-freebsd-arch@FreeBSD.ORG Wed Jul 30 07:15:06 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21994AA1; Wed, 30 Jul 2014 07:15:06 +0000 (UTC) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7E13F2510; Wed, 30 Jul 2014 07:15:05 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id d1so7011478wiv.1 for ; Wed, 30 Jul 2014 00:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=wC3GzXDBN0AxWU8bVhvZzazY4hy1PEm+juhc+cJcHyM=; b=AlrlL+5bdInJnK9dAJsR33VfUlaOyJjCN+ckT3W/cd+lzvzCFZ/z7ljBr0dSwTpdgd 4zXA1OjlzRLK6b3hsYR7PIg5wTF0GuscYw4wOu5vlbgjUHsP7zMzqHPmO1f5OKlXE1tn +LNMjAa1qSDfMviC2Z6ZbmMmP2NCc33/l/wC75HKIReytRxkXA3TWgr8MCg+RN9Qu4Nb x9SV6lrSs+cEhXLnxGmvyESy+rlYkYpXfTi03Q/iGURE2NZZlFNxJAkTD4Ij21W/1xx5 8xSEOE7I9BxASEHgFRhToMDS4oxQae/kUWfPkC/B+3E/NhdagRt88/FZRfLhLaDrxvbQ 2tEA== X-Received: by 10.180.79.202 with SMTP id l10mr4240249wix.18.1406704503522; Wed, 30 Jul 2014 00:15:03 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id ex4sm52234556wic.2.2014.07.30.00.15.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Jul 2014 00:15:02 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 30 Jul 2014 09:15:00 +0200 From: Baptiste Daroussin To: Jos Backus Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML Message-ID: <20140730071500.GF37672@ivaldir.etoilebsd.net> References: <20140728055336.GJ50802@ivaldir.etoilebsd.net> <20140729232338.40AA6580A2@chaos.jnpr.net> <20140730034641.46ABE580A2@chaos.jnpr.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bGR76rFJjkSxVeRa" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: arch@freebsd.org, Adrian Chadd , Jordan Hubbard , "Simon J. Gerraty" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 07:15:06 -0000 --bGR76rFJjkSxVeRa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 29, 2014 at 09:44:17PM -0700, Jos Backus wrote: > On Jul 29, 2014 8:46 PM, "Simon J. Gerraty" wrote: > > > > > > On Tue, 29 Jul 2014 16:30:53 -0700, Jos Backus writes: > > >> You certainly cannot wait for all of it to arrive before you start > > >> rendering. > > > > > >Understood. This is why a serialization output format that supports > > >streaming data is useful. > > > > Indeed; XML works fine for that. >=20 > Not to beat a dead horse, but so does YAML, and it's more lightweight/less > verbose so I personally find it more elegant. But sure, XML would work as > well. >=20 YAML is not more lightweight at all, it is really heavy to parse compared to XML or JSON. regards, Bapt --bGR76rFJjkSxVeRa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlPYm3QACgkQ8kTtMUmk6EzsyACfVx9xexgW11eZU0i1T8ZYWL2S ut4An10j2MGKsx3HRd7/smhevaGfggad =lgVD -----END PGP SIGNATURE----- --bGR76rFJjkSxVeRa--