Re:Dyad: Minimal, portable async networking library for C
by ishbits on Wednesday August 20, 2014 @10:43AM
(#8202463)
For me, libevent just provides the boiler plate but I'd be writing too often for fd registration and timeouts.
I could do it myself, but it would just end up looking more and more like libevent each time I did it.
Re:Dyad: Minimal, portable async networking library for C
by matthavener on Wednesday August 20, 2014 @09:40AM
(#8202237)
I'm curious what you mean by "complete control"? Does that mean less abstraction? Or do you want to avoid inversion of control? That is, you want to avoid using callback-based libraries?
I'm not saying there's not a need for libraries like libevent, but IMO it's not needed for most applications. I might be biased because I want complete control and know what happens, I think that's important. I don't want to use a library before I know what happens in the "background". When I know that and know what I need, only then it might be appropriate to use a library.