Return-Path: Delivered-To: apmail-lucene-lucy-dev-archive@minotaur.apache.org Received: (qmail 29194 invoked from network); 6 Jan 2010 03:43:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Jan 2010 03:43:39 -0000 Received: (qmail 84543 invoked by uid 500); 6 Jan 2010 03:43:39 -0000 Delivered-To: apmail-lucene-lucy-dev-archive@lucene.apache.org Received: (qmail 84486 invoked by uid 500); 6 Jan 2010 03:43:39 -0000 Mailing-List: contact lucy-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucy-dev@lucene.apache.org Delivered-To: mailing list lucy-dev@lucene.apache.org Received: (qmail 84476 invoked by uid 99); 6 Jan 2010 03:43:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 03:43:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.98.116.241] (HELO pekmac.peknet.com) (209.98.116.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2010 03:43:29 +0000 Received: from pekmac.local (localhost [127.0.0.1]) by pekmac.peknet.com (Postfix) with ESMTP id 54DCB1E3411 for ; Tue, 5 Jan 2010 21:43:07 -0600 (CST) Message-ID: <4B4406CA.8060804@peknet.com> Date: Tue, 05 Jan 2010 21:43:06 -0600 From: Peter Karman User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: lucy-dev@lucene.apache.org Subject: Re: [Lucy] Monolithic Charmonizer files References: <20100105224719.GA15135@rectangular.com> <4B43F3A5.1050402@peknet.com> <20100106032102.GA19664@rectangular.com> In-Reply-To: <20100106032102.GA19664@rectangular.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Marvin Humphrey wrote on 1/5/10 9:21 PM: > On Tue, Jan 05, 2010 at 08:21:25PM -0600, Peter Karman wrote: > >> Where's the win in consolidating into a single .c file? > > * Building Charmonizer becomes as straightforward as compiling > "hello_world.c". > * We don't have to maintain multiple Makefiles to get Charmonizer to build > successfully on different platforms. > * I think Charmonizer would work well structured as a single file, because > it's a relatively straightforward procedural library -- as opposed to a > large OO project which needs strong modularization. > >> I.e., why would I want to build Charmonizer as a standalone entity? > > Right now, just for the sake of hacking on Charmonizer in isolation. It's a > little weird that in order to build Charmonizer, you need the build script for > Lucy's Perl bindings -- that threw off Nate. > >> Or put another way, how does this help us get to Lucy 1.0? > > I've been trying to use feedback supplied by you and Nate to make Charmonizer > as easy to grok as possible. We get to 1.0 faster because making Charmonizer > in particular and Lucy in general as simple as possible makes it easier for > you and Nate to contribute now, and easier for others to contribute in the > future. > ok, I buy the "it makes the build architecture simpler, lessening the barrier to entry and increasing the immediate-hacking-gratification-factor" argument. -- Peter Karman . http://peknet.com/ . peter@peknet.com