From dev-return-18051-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu Feb 15 00:19:14 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 32634 invoked from network); 15 Feb 2007 00:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2007 00:19:09 -0000 Received: (qmail 93610 invoked by uid 500); 15 Feb 2007 00:19:16 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93532 invoked by uid 500); 15 Feb 2007 00:19:16 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 93521 invoked by uid 99); 15 Feb 2007 00:19:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 16:19:15 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of david@jetnet.co.uk designates 80.87.128.128 as permitted sender) Received: from [80.87.128.128] (HELO kosh.jetnet.co.uk) (80.87.128.128) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Feb 2007 16:19:04 -0800 Received: from localhost (localhost [127.0.0.1]) by kosh.jetnet.co.uk (Postfix) with ESMTP id B053931DCB; Thu, 15 Feb 2007 00:18:43 +0000 (GMT) X-Virus-Scanned: amavisd-new at jetnet.co.uk Received: from kosh.jetnet.co.uk ([127.0.0.1]) by localhost (mail.jetnet.co.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VopPNrXOLHc5; Thu, 15 Feb 2007 00:18:43 +0000 (GMT) Received: from [192.168.1.100] (unknown [89.241.182.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kosh.jetnet.co.uk (Postfix) with ESMTP id 2D7162B437; Thu, 15 Feb 2007 00:18:17 +0000 (GMT) Message-ID: <45D3A6B4.5030806@jetnet.co.uk> Date: Thu, 15 Feb 2007 00:17:56 +0000 From: david reid User-Agent: Thunderbird 1.5.0.9 (X11/20070103) MIME-Version: 1.0 To: Joe Orton , dev@apr.apache.org Subject: Re: dyanmic loading revisited References: <45D336F5.105@jetnet.co.uk> <20070214232431.GA17004@redhat.com> In-Reply-To: <20070214232431.GA17004@redhat.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Orton wrote: > On Wed, Feb 14, 2007 at 04:21:09PM +0000, david reid wrote: >> I've been contemplating some pieces of functionality for apr-util, but >> run into the whole "it's a kitchen sink" thing again. We've discussed a >> few times having apr-util modules dynamically loaded and I think it >> might be time to look at making this a reality. > > You can't just shove random bits of code into DSOs unless they are > behind some encapsulation interface (like DBD) which allows function > calls to be turned into > function-calls-via-function-pointers-resolved-via-dlsym. Yep, I know :-) > > You can split random bits of code from apr-util out into separate shared > libraries, of course - is that what you mean? Perhaps. > Or do you mean taking random bits of apr-util code and isolating their > dependencies on third-party libraries by having them load said libraries > at run-time and use all symbols via dlsym()? That would get quite horrible quite fast i suspect :-) This is part of the reason for bringing this up again, we don't yet have a model for what we want to do or much discussion and therefore common ground on how it can be done. Rather than follow httpd-dev and decide on a framework within the first 3 hours of a discussion, lets keep everything on the table and see what drops out. > > joe -- david http://feathercast.org/