4 ms·
Similarly, there's libuv [0], which is used for Node.js and others. [0] https://github.com/libuv/libuv https://github.com/libuv/libuv
by misframer 11y ago
Similarly, there's libuv [0], which is used for Node.js and others.
[0] https://github.com/libuv/libuv https://github.com/libuv/libuv
- rgbrenner 11y agolibuv is for C projects that miss the joy of javascript callback hell.
- anacrolix 11y agoOr don't want to have 10000 threads. I have a Go server that regularly bumps 140k goroutines. Try that shit with native threads.
- rgbrenner 11y agolibuv 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.