Page 1 of 1

libevent

Posted: Sat Jun 18, 2005 6:41 pm
by Xuefer
will unreal ever use libevent to handle socket? :P
it scales good for system that have nice api (such as linux 2.6 epoll)

Posted: Sun Jun 19, 2005 1:21 am
by w00t
[moved to Off Topic - I really don't see how this fits elsewhere]

I don't see it happening anytime soon. Maybe 3.3 or post 3.3, almost assuredly not for the 3.2 branch.

Posted: Sun Jun 19, 2005 2:04 pm
by Syzop
we are going to use an event-based I/O API for 3.3 which supports all that stuff, but not libevent.

Posted: Sun Jun 19, 2005 4:55 pm
by codemastr
Agreed, I hate libevent. In my mind, this is not something that should be handled by a library, it is better left to the application. Otherwise you wind up with a "general purpose" interface much like Windows' message system. And if you've ever played with that, you realize that as time progresses it gets much more complex, much uglier, and eventually it gets to the point where there are bugs that can never be fixed due to the fact that fixing them would break every single program in existence. Hence, in my mind, in this particular case it's better to reinvent the wheel than to use a wheel that isn't round.

I should, however, mention that epoll support will be added.