News for hackers. Stuff that matters.
Re:Show HN: A minimalist event-driven (epoll) framework by oso2k on Thursday May 08, 2014 @11:08AM (#7715682)
Is there a reason why you didn't use another event-driven framework like picoev[1], ivykis[2], or the more popular ones like libuv[3], libevent[4], libev[5]?

[1] https://github.com/kazuho/picoev

[2] http://libivykis.sourceforge.net/man3/ivykis.3.html

[3] https://github.com/joyent/libuv

[4] http://libevent.org/

[5] http://software.schmorp.de/pkg/libev.html

Re:Show HN: A minimalist event-driven (epoll) framework by hal9000xp on Saturday May 10, 2014 @05:36AM (#7724929)
Actually, Euclid is not just minimalist event-driven framework based on epoll. I just could not find a better short description. Euclid is an attempt of minimalist out-of-box solution based on event-driven architecture.

Here is a reason, why I did not choose another frameworks:

[1] It's hardly a framework, it's just a loop;

[2] A good event-driven framework. But it's not a complete solution. For example, there is no SSL support, no HTTP 1.1 support, no config parser, no modularity;

[3] Really good event-driven framework. But it's a big code-base. And again it's not a complete solution (see previous);

[4] I like libevent. I read repeatedly libevent source. Euclid inherited a few things from libevent (nothing special, but for example, how it works with OpenSSL API). Bot it's a big code-base. And there is a lot of logic intended for handling many connections. But my trading bot will not work with a lot of connections. I don't need that logic at all;

[5] It's a loop. I agree it's a good loop. But I need much more (in relatively small code-base!);

In other words, I needed small, cute and fast solution that satisfy my needs (trading bot).

YC HN inspired me a lot, a minimalist, cute and exactly what I want.