From owner-freebsd-current@FreeBSD.ORG Sat Jun 13 08:42:55 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 A2972106566B for ; Sat, 13 Jun 2009 08:42:55 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from mail.vnode.se (mail.vnode.se [62.119.52.82]) by mx1.freebsd.org (Postfix) with ESMTP id 57C548FC17 for ; Sat, 13 Jun 2009 08:42:55 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from iMac.local (pgw.vnode.se [77.110.37.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.vnode.se (Postfix) with ESMTPSA id 517DBE9F42B; Sat, 13 Jun 2009 10:42:53 +0200 (CEST) Message-ID: <4A33668C.3080602@FreeBSD.org> Date: Sat, 13 Jun 2009 10:42:52 +0200 From: Joel Dahl User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Roman Divacky References: <538f43900906120823w388f1c63ic8d0194017faca6d@mail.gmail.com> <20090612165518.GA15530@phenom.cordula.ws> <20090612172740.GA1952@troutmask.apl.washington.edu> <20090612175206.GA77895@freebsd.org> In-Reply-To: <20090612175206.GA77895@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Antonio Gonz?lez Castro , freebsd-current@freebsd.org, cpghost , Steve Kargl 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: Sat, 13 Jun 2009 08:42:55 -0000 Roman Divacky skrev: > 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++ Kristaps Dzonsons has been working on a groff replacement called mdocml for some time. It's small compared to groff, written in C and ISC-licensed. And it's fast too. :-) Youtube video from his presentation at AsiaBSDCon: http://www.youtube.com/watch?v=z25FFo01Zpw Homepage: http://mdocml.bsd.lv/ -- Joel