Recommendations: asynchronous, portable file io in

2019-04-12 12:28发布

问题:

I'm looking for a C++, async io library that should be compatible with both unix and windows systems.

What are some good libraries? Is this asking too much for a library that does both systems? What are peoples' experiences with this matter?

回答1:

Use boost::asio with boost::iostreams instead of asio streams. ASIO provides asynchronousness, while IOStreams provide powerful portable IO options.



回答2:

Try to take a look at boost::asio. I've never personally used it but I heard good things about it.