Hacker News new | ask | show | jobs
by misframer 4018 days ago
Similarly, there's libuv [0], which is used for Node.js and others.

[0] https://github.com/libuv/libuv

1 comments

libuv is for C projects that miss the joy of javascript callback hell.
Or don't want to have 10000 threads. I have a Go server that regularly bumps 140k goroutines. Try that shit with native threads.
libuv isn't unique.. It's equivalent to libev + libeio.. in fact, that's what nodejs used before writing libuv. Whether or not it's faster than those is really case-by-case.. but what you'll definitely get with libuv is callbacks everywhere.