Reputation: 9043
I'm coming to C++ from a .Net background. Knowing how to use the Standard C++ Libraries, and all the syntax, I've never ventured further. Now I'm looking learning a bit more, such as what libraries are commonly used? I want to start getting into Threading but have no idea to start. Is there a library (similar to how .net has System.Threading) out there that will make it a bit easier? I'm specifically looking to do Linux based network programming.
Upvotes: 6
Views: 214
Reputation: 10060
lots of boost suggestions, but Qt is another good option. It's got great support for threading and networking along with pretty much everything else.
Upvotes: 3
Reputation: 182000
For C++, Boost is your everything. Threading and networking are among the things it offers. But there's much more:
Upvotes: 10
Reputation: 27353
As the others have said, Boost is great. It implements the C++ Technical Report 1 in addition to tons of other stuff, including some mind-blowing template metaprogramming tricks.
For other cross-platform features not provided by Boost, I've had very good luck with a library called Poco. I've worked on commercial projects that incorporated its simple HTTP server, for instance, and it treated us quite well.
Upvotes: 7
Reputation: 10155
There's no standard multithreading library, but the boost library includes a platform-independent multithreading abstraction that works very well.
Upvotes: 1
Reputation: 24561
If you are looking into network programming and are not interested into GUI, I suggest Boost libraries: in particular, Asio.
Upvotes: 2