[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] To upgrade or not to upgrade - that is the question
- To: libevent-users@xxxxxxxxxxxxx
- Subject: Re: [Libevent-users] To upgrade or not to upgrade - that is the question
- From: Nick Mathewson <nickm@xxxxxxxxxxxxx>
- Date: Tue, 10 Aug 2010 21:14:14 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Tue, 10 Aug 2010 21:14:22 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=MyXWXpONhI4vuuzWaOTOxNUBfKn1K0j8g9KG72YC82Y=; b=jaFsa1NoXiQETwPVDhj2iNL+dVMz4dmBnnCekQbrPVtAnhVl2hsk2gkhDGdXERYZAt K3P6KYGcpb6J1GRiTfdx55FG+uJjOcxxuBKJ73AkWHBqON48ndFHl2MVk4nZQvbSDxx4 Yw8f2nNtWORzwzS3CPcNsmFF++kouN/I+myh0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=KvRKLxWGuWRt2NwGpN3LZFqgYc7AEMytb751UeqetSgiW56FNe4UxAbpNFsX/NI6vu 2jPv15yMB/9hEApGd+fk4GwzMv5VVH2YHMQcvDyRg68RGFS8BOUzLtQKGrVT3MA1SD46 6vSoQADAXJsWdc9uu0Mo/xZXbDC4jd3iPCXxM=
- In-reply-to: <008a01cb38e3$a50c27c0$ef247740$@com>
- References: <008a01cb38e3$a50c27c0$ef247740$@com>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
On Tue, Aug 10, 2010 at 7:27 PM, Gilad Benjamini
<gilad@xxxxxxxxxxxxxxxxx> wrote:
> We have working Linux application using libevent 1.4
> We are now beginning work on a new version, which would include, among other
> things porting our code to Windows.
>
> Theoretically, it looks like a good point in time to upgrade our libevent to
> 2.0
> The question is should we ?
>
> What are the major benefits of 2.0 ?
Hi, Gilad!
I just updated the "what's new in Libevent 2.0" document. You can see
the latest version here:
http://levent.git.sourceforge.net/git/gitweb.cgi?p=levent/levent;a=blob_plain;f=whatsnew-2.0.txt;hb=HEAD
. It's still not complete, but it could be a good place to start.
You can also peruse the draft book-in-progress at
http://www.wangafu.net/~nickm/libevent-book/ ; APIs that are new in
2.0.x are noted throughout.
Generally, Libevent 2.0 has better designed APIs (while retaining
backwards compatibility), better thread-safety, better portability,
better windows support, some key performance improvements, and
numerous new features. It's (I think) easier to use, easier to debug
with, more tested, and generally better written throughout.
Another reason to consider upgrading is that once Libevent 2.0 has
been stable for a while, we're not going to backport bugfixes to 1.4
unless they are truly critically important.
If you have more specific questions not answered in the documents
above, please don't hesitate to ask here.
yrs,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.