RFC: C version of devd daemon.

Joel Dahl joel at FreeBSD.org
Sat Jun 13 08:42:55 UTC 2009


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


More information about the freebsd-current mailing list