From owner-freebsd-current@FreeBSD.ORG Fri Jun 12 17:57:25 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F9131065670 for ; Fri, 12 Jun 2009 17:57:25 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id EDBA78FC08 for ; Fri, 12 Jun 2009 17:57:24 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 21DE39CB097; Fri, 12 Jun 2009 19:52:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GL1u8+MAL5UO; Fri, 12 Jun 2009 19:52:07 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E4CB79CB1C3; Fri, 12 Jun 2009 19:52:06 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n5CHq6cb078180; Fri, 12 Jun 2009 19:52:06 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 12 Jun 2009 19:52:06 +0200 From: Roman Divacky To: Steve Kargl Message-ID: <20090612175206.GA77895@freebsd.org> References: <538f43900906120823w388f1c63ic8d0194017faca6d@mail.gmail.com> <20090612165518.GA15530@phenom.cordula.ws> <20090612172740.GA1952@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090612172740.GA1952@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Cc: Antonio Gonz?lez Castro , freebsd-current@freebsd.org, cpghost Subject: Re: RFC: C version of devd daemon. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jun 2009 17:57:25 -0000 On Fri, Jun 12, 2009 at 10:27:40AM -0700, Steve Kargl wrote: > On Fri, Jun 12, 2009 at 10:55:18AM -0600, cpghost wrote: > > On Fri, Jun 12, 2009 at 03:23:47PM +0000, Antonio Gonz?lez Castro wrote: > > > Hi, I'm not sure this is interesting or useful, but I translated devd daemon > > > from C++ to C. > > > > Why would you want to do that? IMHO, the code in > > /usr/src/sbin/devd/devd.cc is beautiful, concise > > and very readable. > > To allow one to use an alternative compiler technology > to compile the system. See, for example, clang and pcc. clang will ultimately support C++ just fine. dont forget devd is not the only C++ code in our src. we also have groff and libstd++