From owner-cvs-src@FreeBSD.ORG Fri Apr 8 22:01:50 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBA5B16A4CE; Fri, 8 Apr 2005 22:01:50 +0000 (GMT) Received: from saturn.criticalmagic.com (saturn.criticalmagic.com [64.74.124.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8836643D2F; Fri, 8 Apr 2005 22:01:50 +0000 (GMT) (envelope-from rcoleman@criticalmagic.com) Received: from [10.40.30.162] (delta.ciphertrust.com [216.235.158.34]) by saturn.criticalmagic.com (Postfix) with ESMTP id BAB3A3BD53; Fri, 8 Apr 2005 18:01:49 -0400 (EDT) Message-ID: <4256FF84.20008@criticalmagic.com> Date: Fri, 08 Apr 2005 18:02:44 -0400 From: Richard Coleman Organization: Critical Magic User-Agent: Mozilla Thunderbird 1.0 (X11/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <22307.1112996518@critter.freebsd.dk> In-Reply-To: <22307.1112996518@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: src-committers@FreeBSD.org cc: Bruce Evans cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Gleb Smirnoff cc: Sam Leffler Subject: Re: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 22:01:50 -0000 Poul-Henning Kamp wrote: > In message <4256BF44.2000100@errno.com>, Sam Leffler writes: > > >>>And besides, a formatted sysctl has no binary compatibility issues at >>>all. I like that too. >>> >> >>Sure, that's the downside; you need to design binary protocols with care >>(this is a protocol after all). > > > And given that X.400 is dead and SMTP lives I would say that an ascii > based protocol is preferable. > There are plenty of binary based protocols in common use. Anything defined by ASN.1 is an example (ldap, Kerberos, etc). But I generally agree that simple ASCII based protocols are preferable unless you are doing something complicated. But I think the general idea was that any ad hoc protocol will generally suck, whether it is binary or ascii. Richard Coleman rcoleman@criticalmagic.com