From owner-freebsd-current Tue Feb 2 05:12:18 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA12098 for freebsd-current-outgoing; Tue, 2 Feb 1999 05:12:18 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from server.noc.demon.net (server.noc.demon.net [193.195.224.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA12090 for ; Tue, 2 Feb 1999 05:12:15 -0800 (PST) (envelope-from fanf@demon.net) Received: by server.noc.demon.net; id NAA28224; Tue, 2 Feb 1999 13:12:12 GMT Received: from fanf.noc.demon.net(195.11.55.83) by inside.noc.demon.net via smap (3.2) id xmaa28195; Tue, 2 Feb 99 13:12:03 GMT Received: from fanf by fanf.noc.demon.net with local (Exim 1.73 #2) id 107fcY-0006IY-00; Tue, 2 Feb 1999 13:12:02 +0000 To: current@FreeBSD.ORG From: Tony Finch Subject: Re: btokup().. patch to STYLE(9) (fwd) In-Reply-To: <99Feb2.070121est.40330@border.alcanet.com.au> Message-Id: Date: Tue, 2 Feb 1999 13:12:02 +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Jeremy wrote: >Someone wrote: >> >> "You are not supposed to understand this." > >I'd suggest that there's a vast difference in the intended audience >of the code containing the above comment and FreeBSD. Not to mention >a 20+ year gap in time. > >Whilst the official codebase may be under the control of a select >group of committers, the code should be capable of being understood by >anyone who is reasonably proficient with C. If understanding the >kernel requires that you be a guru-level expert in C, then people >won't bother. FreeBSD will wind up being a small collection of >people trying to outdo each other in obtuseness. Don't be silly. FreeBSD is much more complicated than V6 for a whole lot of reasons that are independent of who gets to read the code and who gets to change it. Just as a starting point, the kernel has about a million lines of code compared to V6's ten thousand lines; Lions' comment about 10000 lines being a comfortable amount of code for one person to understand comes to mind. The x86 architecture is vastly more complicated and baroque than the PDP11. We now have paging and networking and SMP and a whole lot of other sophisticated stuff that were completely beyond V6. The magic of swtch() is written in assembler, not C. On the other hand, what we have that the early Unix community didn't have is the Internet. We can collaborate with email, we can browse the code history with CVS, and generally benefit from a far greater level of support. Tony. -- f.a.n.finch dot@dotat.at fanf@demon.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message