Return-Path: Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Delivered-To: mailing list dev@apr.apache.org Received: (qmail 43217 invoked by uid 99); 5 Nov 2004 15:39:35 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [128.143.137.19] (HELO ares.cs.Virginia.EDU) (128.143.137.19) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 05 Nov 2004 07:39:32 -0800 Received: from cobra.cs.Virginia.EDU (cobra.cs.Virginia.EDU [128.143.137.16]) by ares.cs.Virginia.EDU (8.12.10/8.12.10/UVACS-2003031900) with ESMTP id iA5FdOEf026383; Fri, 5 Nov 2004 10:39:24 -0500 (EST) Date: Fri, 5 Nov 2004 10:39:24 -0500 (EST) From: Cliff Woolley X-X-Sender: jcw5q@cobra.cs.Virginia.EDU To: Marco Spinetti cc: dev@apr.apache.org Subject: Re: apr Vs glib In-Reply-To: <418B4FDC.5090309@pisa.iol.it> Message-ID: References: <418B4FDC.5090309@pisa.iol.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked On Fri, 5 Nov 2004, Marco Spinetti wrote: > Can someone explain me the difference between apr and glib? > I see the glib doc > (http://developer.gnome.org/doc/API/2.0/glib/index.html) and it seems > very complete: it has a lot of similar apr functions. Well, as you say, there is a lot of overlap in the APIs. But there are differences; for one thing, APR uses a pool-based memory management scheme for almost everything. Second, glib appears to work by way of a main event loop, and APR has no such concept. Also, the two have different licenses, which may or may not be important to you depending on what you're trying to do. :) There are of course countless other differences, but hopefully this gives you an idea...