Network I/O and streaming in D2

Johannes Pfau spam at example.com
Sun Jul 4 06:44:24 PDT 2010


On 02.07.2010 18:31, Sean Kelly wrote:
> Johannes Pfau Wrote:
>>
>> Just wondering, as libevent was already brought up on the newsgroup some
>> time ago, is there a special reason to use libevent instead of libev?
>> Both seem to be actively developed and liberally licensed (libevent: 3
>> Clause BSD libev: 2 Clause BSD), but at least for libevent1 libev claims
>> to be faster. Some new benchmarks against libevent2 (
>> http://lists.schmorp.de/pipermail/libev/2010q2/001033.html ) show no big
>> difference in speed anymore (libev is still faster when using timeouts
>> or many clients). So any special reason to use one rather than the other?
> 
> I mentioned libevent simply because I've used it before.  From a license standpoint (and features as well), libev is a better choice for Phobos.

I see, thanks for the info.
-- 
Johannes Pfau


More information about the Digitalmars-d mailing list