Idriss Chaouch
3 min readApr 24, 2021

The top 11 C++ Libraries

In this article, we will see the different important external libraries that give the C++ programmers the ability of doing their jobs without any difficulties.

C++ lacks providing libraries, while other languages usually come with all the libraries needed for most applications, such as graphics, user interfaces, networking, resource handling, and so on, C++ provides, more or less, nothing more than the bare minimum of algorithms, threads, and, as of C++17, file system handling. For everything else, programmers have to rely on external libraries. For instance, Python comes with the support of the famous JSON, XML, HTML, TKINTER, ZLIB and so many libraries. All that, is just in the standard library. You can take a look and explore this link:

Go language ( the programming language from Google) comes with the support of many libraries too. This is the link:

And many other languages.

Without further ado let’s dive into the core of the subject.

Researchers, engineers and open-source developers worked hard to provide us the following libraries:

  • The Boost library: Boost is a collection of free, peer-reviewed, portable, open source libraries in C++. Over the last decade and a half, there have been, as of this writing, 57 releases of the Boost libraries. In this span, Boost has released libraries of compelling usefulness that promote correct, portable, efficient, and readable C++ code. A number of prominent Standards Committee members are also the most active participants in Boost and subsequent directions of C++ standardization have been heavily influenced by the work done at Boost.
  • POCO library: POrtable COmponents C++ libraries are a set of computer networking, portable application, IoT and so on.
  • OpenSSL: when secure communications over computer networks against eavesdropping is needed, OpenSSL plays an important role for this need.
  • SQLite: when we need to deal with databases, SQLite is best suited for this type of application. In the following link, you can find a ready SQLite library:
  • Tensorflow: this open-source library from Google gives the C++ programmers the ability to use machine learning algorithms and implement C++ applications based on AI.
  • OpenCV: this open-source library from Intel gives the programmers the ability to use computer vision algorithms based on AI in many fields such as medicine, agriculture, transport and so on.
  • JSON for modern C++: this library is provided by Niels Lohmann which comes to fix the leak of the need to parse the JSON format which widely used nowadays.
  • Dear ImGui: this open-source library gives the programmers the ability of using graphic applications and is mostly used in game development.
  • Eclipse Mosquitto: it’s an open-source library that implements the MQTT protocol. It’s lightweight and suited for use on all devices from low power single board computers to full servers.
  • Google test: it’s based on the xUnit architecture. For instance, OpenCV library uses Google test. It features the following features:

An xUnit test framework.

Test discovery.

A rich set of assertions.

User-defined assertions.

Death tests.

Fatal and non-fatal failures.

Value-parameterized tests.

Type-parameterized tests.

Various options for running the tests.

XML test report generation.

And I will finish up with the:

  • oneAPI Threading Building Blocks: it’s a template library developed by Intel for multi-core processors and concurrent programming.

Have a nice day and keep safe.

Idriss Chaouch

C++ | STL | Semiconductors | VHDL | SoCs | FPGAs | Python | Visual Studio