From owner-freebsd-arch@FreeBSD.ORG Sat Aug 16 00:33:45 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 61B4B7E; Sat, 16 Aug 2014 00:33:45 +0000 (UTC) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4A6342164; Sat, 16 Aug 2014 00:33:45 +0000 (UTC) Received: from u10-2-16-021.office.norse-data.com (unknown [50.204.88.51]) by elvis.mu.org (Postfix) with ESMTPSA id ED57D346DE11; Fri, 15 Aug 2014 17:33:44 -0700 (PDT) Message-ID: <53EEA74B.9070107@mu.org> Date: Fri, 15 Aug 2014 17:35:23 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: "Simon J. Gerraty" Subject: Re: XML Output: libxo - provide single API to output TXT, XML, JSON and HTML References: <201408141640.s7EGe422096656@idle.juniper.net> <53ED57F2.5020808@mu.org> <20140815053604.9E40B580A2@chaos.jnpr.net> <53EDB0EF.6090902@mu.org> <20140815173830.93832580A2@chaos.jnpr.net> In-Reply-To: <20140815173830.93832580A2@chaos.jnpr.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcel Moolenaar , Phil Shafer , John-Mark Gurney , arch@freebsd.org, Poul-Henning Kamp , freebsd-arch , Konstantin Belousov X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2014 00:33:45 -0000 On 8/15/14 10:38 AM, Simon J. Gerraty wrote: > On Fri, 15 Aug 2014 00:04:15 -0700, Alfred Perlstein writes: >> Sure that is fairly simple, but where will that really even be needed in >> practice right now? > You did work at Juniper for a while - did you never use Junos? > If you had you should be well aware of at least one use case. > No one said appA needs to be a standard bsd utility. Well I sort of used Junos, as you know during my tenure I threaded the JUNOS kernel for our platform and did some interesting realtime-ish tweaks. Unfortunately did not spend a lot of time in userland or using the box in the role of a customer. >> How many programs have been successfully converted over to libxo at this >> point? > How is that relevant to any of this discussion? > Well, it speaks towards the vision of getting this done in a timely manner. As I said there is a GSOC project that has a ton of code already done. If this libxo is ready to go in, it should go in and we should get towards converting more utils to using it. However if we are going to perpetually add frameworky things, but not convert over userland tools to the actual framework, then that is a potential problem worth calling out. -Alfred