From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3e1162e60706151818o58471565i3c5bef4487d6f2a@mail.gmail.com> Date: Fri, 15 Jun 2007 18:18:08 -0700 From: "David Leimbach" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] a quick and simple minded study of configure. In-Reply-To: <7359f0490706151423n56208c6dm69aabf4bc4e0ae2d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13426df10706151415s3f523d95x7256f098bdab9a7@mail.gmail.com> <7359f0490706151423n56208c6dm69aabf4bc4e0ae2d@mail.gmail.com> Topicbox-Message-UUID: 7f3c3e1c-ead2-11e9-9d60-3106f5b1d025 Heh. Reminds me of when I wrote an assembler as an undergrad in college in C++ in 1200 lines. I was pretty impressed with myself at the time till I saw my professor's 600 line version. I think that's what got me into learning these higher level languages and higher order functional programming languages - the desire to write less code. I'm pretty sure I'm not good at it yet but I always found this one line. "word counter" impressive. std::distance(std::istream_iterator(std::cin), std::istream_iterator()); I think that's corect but I'm on my blackberry. I think I got that from a newsgroup back in the 90s On 6/15/07, Rob Pike wrote: > When porting the Plan 9 kernel to Sun, I struggled a bit with the MMU. > Someone offered to send me the code for Spring (I think) to help me > understand it. The relevant code was far bigger than the entire Plan > 9 kernel code I was porting. It didn't help at all. > > Dave Cheriton gave a talk, I think at the first OSDI, where he spoke > about a system he'd written. He said it was small, only 100K lines. > I said I considered that large; our kernel at the time was about 25K > lines and was far more complete than his research toy. "Yeah," he > said, "but those are Bell Labs lines." I took that as a compliment, > but he might not have meant it that way. > > -rob > -- - Passage Matthew 5:37: But let your communication be, Yea, yea; Nay, nay: for whatsoever is more than these cometh of evil.