News for hackers. Stuff that matters.
Re:Show HN: My embeddable C/C++ webserver by tptacek on Friday May 06, 2011 @12:11PM (#2521350)
Yes, iOS has working kqueue.

I have some reason to believe you can get libevent working on iOS with minimal drama; I think there's at least one app that embeds it.

Which, by the way, is what I would suggest you do with your code; if you're so dependent on kqueue that it's a portability issue, you have little to lose and lots to gain by ditching the custom event loop.

Re:Show HN: My embeddable C/C++ webserver by udp on Friday May 06, 2011 @01:00PM (#2521570)
I support epoll and IOCP, too, and I don't consider event handling something complicated enough to justify bringing in an external library.

I quite value the freedom of dependencies Lacewing currently has (except the obvious OpenSSL, etc - although it doesn't use OpenSSL on Windows, it uses native Windows SSL).

Re:Show HN: My embeddable C/C++ webserver by tptacek on Friday May 06, 2011 @01:09PM (#2521602)
libevent is small enough to simply bake in and embed, which is what I usually do, but if you like your own event library that's fine.