Re: libuv example

2013-04-13 Thread Clemens Gruber
Gisle Vanem gvanem_at_broadpark.no wrote: Clemens Gruber clemens.gruber_at_pqgruber.com wrote: I am sure many of you are aware that libev and libevent only support select()/poll() on Windows, but not the nice and much faster IO Completion Ports API. libevent as used in the Tor-project and

Re: libuv example

2013-03-27 Thread Gisle Vanem
Clemens Gruber clemens.gru...@pqgruber.com wrote: I am sure many of you are aware that libev and libevent only support select()/poll() on Windows, but not the nice and much faster IO Completion Ports API. libevent as used in the Tor-project and others has used IOCP for some time now. Since

libuv example

2013-03-26 Thread Clemens Gruber
Hi, I am sure many of you are aware that libev and libevent only support select()/poll() on Windows, but not the nice and much faster IO Completion Ports API. Luckily, the guys from Node.js made a library called libuv. It should be equally fast on unixes (uses epoll/kqueue/etc like

Re: libuv example

2013-03-26 Thread Daniel Stenberg
On Tue, 26 Mar 2013, Clemens Gruber wrote: Maybe the following code example would also be an interesting one for the curl homepage? If you agree, I will create a pull request on Github. Then we could improve it further. What do you think? Sounds excellent! I'd love to add a libuv example