2 ms·
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 minimal
by hal9000xp 12y ago
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.