talira

POCO C++ Libraries

Cross-platform C++ libraries for network and internet applications

open sourceBSL-1.0free

The POCO C++ Libraries are a set of cross-platform open source C++ libraries for building network and internet applications that run on desktops, servers, mobile, IoT and embedded devices. They cover sockets and HTTP and HTTPS clients and servers, JSON and XML parsing, SQL database access (SQLite, MySQL and MariaDB, PostgreSQL, SQL Server through ODBC), MongoDB and Redis, logging, multithreading and OpenSSL wrappers for encryption and TLS. Günter Obiltschnig started the project in 2004, and a Technical Steering Committee governs it.

Problems it solves

  • build an HTTP server and REST API in C++ that runs on embedded Linux and Windows
  • cross-platform C++ library for sockets, JSON and database access without pulling in Boost
  • talk to MySQL, PostgreSQL and MongoDB from a C++ application with one consistent API

Features

  • sockets and HTTP and HTTPS clients and servers
  • JSON and XML parsing, streaming and document APIs
  • SQL database access: SQLite, MySQL and MariaDB, PostgreSQL, SQL Server via ODBC
  • MongoDB and Redis clients
  • logging framework
  • multithreading abstractions
  • OpenSSL wrappers for encryption and TLS
  • runs on Windows, Linux, macOS, iOS, Android, QNX and embedded Linux

Limitations

  • Needs a C++20 compiler and CMake 3.26 or newer to build.1

Alternatives

The same job

These do what POCO C++ Libraries does.

  1. Seastar C++ framework for high-performance server applications on multi-core hardware

Compare POCO C++ Libraries with the top 3