Re:Writing high-performance servers in modern C++
by signa11 on Sunday January 10, 2016 @09:56AM
(#10875469)
no benchmarks. what gives ?
[ Parent
| on HN ]
Re:Writing high-performance servers in modern C++
by ansgri on Sunday January 10, 2016 @10:12AM
(#10875534)
Yeah, and no mention about boost::async, which is in Boost, ie almost standard.
Re:Writing high-performance servers in modern C++
by gamegod on Sunday January 10, 2016 @10:55AM
(#10875690)
You mean std::async (c++11)? http://en.cppreference.com/w/cpp/thread/async
Re:Writing high-performance servers in modern C++
by ansgri on Sunday January 10, 2016 @01:40PM
(#10876484)
oh, I mean ASIO.
Re:Writing high-performance servers in modern C++
by kinofcain on Sunday January 10, 2016 @11:02AM
(#10875712)
Folly, the library underneath wangle, is running on top of boost::asio, so this is basically an abstraction on asio two layers up.
Re:Writing high-performance servers in modern C++
by neomantra on Sunday January 10, 2016 @11:28AM
(#10875839)
Folly does not use boost::asio, but rather libevent:
libevent is an excellent cross-platform eventing library.
Folly's async provides C++ object wrappers for fd callbacks
and event_base, as well as providing implementations for
many common types of fd uses.
https://github.com/facebook/folly/blob/master/folly/io/async...grepping the codebase for `asio` brings up nothing.
Re:Writing high-performance servers in modern C++
by kinofcain on Sunday January 10, 2016 @07:43PM
(#10878052)
Interesting. Thanks for the correction. I had seen the boost dependency and assumed it was using asio under the hood I guess.
Re:Writing high-performance servers in modern C++
by hellofunk on Sunday January 10, 2016 @11:19AM
(#10875785)
ASIO header-only implementation is also available without Boost, fyi, as a standalone library; the same one that's in boost, but used without boost.