libevent

Talk about pretty much anything here, but DO NOT USE FOR SUPPORT.

Moderator: Supporters

Locked
Xuefer
Posts: 20
Joined: Wed Apr 14, 2004 4:30 am

libevent

Post 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)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2115
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

we are going to use an event-based I/O API for 3.3 which supports all that stuff, but not libevent.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post 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.
-- codemastr
Locked