78

I haven't done work in C/C++ for a little bit and was just wondering what people's favorite cross platform libraries are to use.

I'm looking for something that is a good quick and dirty library as well as a library that is a little more robust. Often those are two different libraries and that's okay.

Hortitude
  • 13,638
  • 16
  • 58
  • 72

1 Answers1

336

Aggregated List of Libraries

ptroen
  • 21
  • 3
Ferruccio
  • 98,941
  • 38
  • 226
  • 299
  • There is a free, open-source version of Qt and you can create commercial software with that as well. http://stackoverflow.com/questions/352896/qt-commercial-licenses – otisonoza Mar 14 '14 at 19:44
  • 19
    You might want to consider the standalone version, header only, version of Asio if you do not want to link against Boost, or add boost to your project. http://think-async.com/Asio – Ed Rowlett-Barbu Jun 28 '14 at 17:44
  • 1
    At all times before anyone tries to use any of these frameworks he/she should read the documentation. For example asio and boost::asio dropped support for a large amount of older compiler versions. In my case now I am unable to use newer versions of these libraries for mature projects. – kirsche40 Jul 08 '14 at 08:37
  • You are better off looking for the **asio** library [here](http://think-async.com/Asio/). Note that there is a "standalone version" that is not dependent on the rest of Boost. There seems to be a lot of documentation (e.g. the PDF version is 1425 pages!). (Sorry for not editing this into the answer proper but I wasn't allowed - not enough points? Anyone with the creds to do so for me, please?) – johanekdahl Apr 20 '15 at 09:08
  • 6
    C++ Rest SDK (Formerly known as Casablanca) at https://casablanca.codeplex.com/ is a good contender to this list. – Viktor Sehr Oct 27 '15 at 13:18
  • I suggest to add two more libraries: [GLib](https://developer.gnome.org/glib/) and [plibsys](https://github.com/saprykin/plibsys). – Alexander Saprykin Jun 27 '16 at 14:01
  • 5
    Winsock isn't a library. It is an API/ABI backed by a set of system calls. – user207421 Jul 01 '16 at 08:00
  • @Ed Rowlett-Barbu: I'm wondering why you said the standalone ASIO library is header only? It's not! – York Dec 07 '16 at 02:41
  • Take a look at the [evpp](https://github.com/Qihoo360/evpp) and [libsocket](https://github.com/dermesser/libsocket) – Reza Jul 04 '17 at 09:47
  • [cpp-httlib](https://github.com/yhirose/cpp-httplib) is great if you need something very light, with no dependencies, but still having a nice C++ interface. – Zpalmtree Nov 21 '18 at 07:24
  • I would not recommend SFML's network module. I'm here looking for another because of problems I've run into that I've seen others run into as well. – aj.toulan May 28 '19 at 19:44