How is nodejs different from running libevent? How is nodejs different from running libevent? node.js node.js

How is nodejs different from running libevent?


Sure you could. In fact, node.js is implemented using libev which is an event library similar to libevent. I think the main advantage of node.js over rolling your own event-driven server in C++ is that it's really easy to use and really easy to get a server up and running quickly without having to write all of the event-based details yourself.