C++ is a basic-reason units programming language that is now a lot more than forty a long time old, having been created in 1979. Much from dropping steam, C++ nonetheless ranks in close proximity to the best of various programming language recognition indexes.

Smoothing the route to C++ use is wide assist for the language among the the makers of IDEs, editors, compilers, test frameworks, code high quality, and other tools. Software developers also have at their disposal a lot of outstanding libraries to aid with building C++ applications. Listed here are 10 that C++ developers depend on. 

Lively Template Library

From Microsoft, Lively Template Library (ATL) is a established of C++ classes for building COM (Common Object Design) objects, with assist for COM characteristics these kinds of as twin interfaces, typical COM enumerator interfaces, link details, and ActiveX controls. Available with the Visual Studio IDE, ATL can be made use of to develop solitary-threaded objects, apartment-product objects, free of charge-threaded product objects, or the two free of charge-threaded and apartment-product objects.

Asio C++ library

The Asio C++ library is made use of for community and very low-amount I/O programming, giving a constant asynchronous product. Offering essential building blocks for concurrency, C++ networking, and other styles of I/O, Asio has been made use of in applications ranging from smartphone applications and games to hugely interactive sites and genuine-time transaction units. Tasks utilizing Asio contain the WebSocketPP library and the DDT3 remote debugger for the Lua language. Asio is available as free of charge open resource below the Strengthen Software License, and supported on Linux, Home windows, MacOS, and FreeBSD.


Cinder is an open resource library for “creative coding” in C++. Beneficial for applications these kinds of as audio, computational geometry, graphics, and video clip, Cinder supports system-indigenous windowing and occasion-dealing with, together with I/O abstraction, and has a built-in API for XML and JSON parsing. Made close to idiomatic C++ eleven characteristics these kinds of as shared_ptr, the library ships with several samples. Cinder supports MacOS, iOS, Linux, Home windows, and Home windows UWP.


Eigen is a C++ template library for linear algebra, such as matrices, vectors, numerical solvers, and related algorithms. All matrix dimensions are supported, from little, mounted matrices to arbitrarily significant, dense matrices. Algorithms are picked for dependability. All typical numeric styles are supported. For pace, Eigen characteristics expression templates to intelligently take away temporaries and help lazy analysis. Freely available below the Mozilla Public License 2 and downloadable from the Eigen task webpage, Eigen has been equipped with an API described by proponents as expressive and clear and natural to C++ programmers. The test suite for Eigen has been operate in opposition to a lot of compilers to make sure dependability.


FloatX, or Float Prolonged, is a header-only library for very low-precision, floating stage kind emulation. Though natively appropriate with C++ compilers, FloatX can be referred to as by other languages these kinds of as Python or Fortran. Floating stage styles are extended past the indigenous solitary and double precision styles. Template styles are delivered that allow the person to select the variety of bits made use of for the exponent as very well as sizeable sections of the floating stage variety. FloatX is based on the concept of the FlexFloat library for emulating minimized-precision floating styles, but implements a superset of FlexFloat operation in C and presents C++ wrappers. FloatX emerged from the Open up Transprecision Computing initiative. It is available free of charge below the Apache License 2.. 


OpenCV, or Open up Source Computer Eyesight Library, is a personal computer eyesight and equipment mastering library written natively in C++, and available below a BSD license. OpenCV was built to offer common infrastructure for personal computer eyesight applications and accelerate the use of equipment notion in business products. Far more than 2,five hundred optimized algorithms for encounter recognition, item detection, item classification, 3D product extraction, graphic research, and substantially a lot more, OpenCV has amassed a person community of a lot more than 47,000 persons. Available from the OpenCV task site, the library presents C++, Java, Python, and Matlab interfaces and supports Home windows, Linux, Android, and MacOS. CUDA and OpenCL interfaces are in improvement.

Poco C++ Libraries

Supposed to simplify C++ improvement, the Poco (Transportable Factors) C++ Libraries are cross-system C++ libraries for building World-wide-web and community applications to operate on units ranging from desktops and servers to cellular and IoT gadgets. The libraries also can be made use of to develop microservices with Rest APIs for equipment mastering or details analytics. The Poco libraries are related in strategy to the Java Class Library, Microsoft’s .Net Framework, or Apple Cocoa.

Builders can use Poco libraries to develop application servers in C++ that communicate to SQL databases, Redis, or MongoDB, or to develop software package for IoT gadgets that communicate to cloud again-finishes. Between the characteristics of the libraries are a cache framework, HTML variety dealing with, an FTP client for transferring files, and an HTTP server and client. The Poco libraries are available free of charge below the Strengthen Software License and downloadable from GitHub. 

Home windows Template Library

Initially from Microsoft, the Home windows Template Library (WTL) is (because 2004) an open resource library for building lightweight Home windows applications and UI parts. Positioned as an substitute to the Microsoft Foundation Courses toolkit, WTL extends ATL and presents a established of classes for controls, dialogs, frame windows, and GDI objects.


Wt is a web GUI library in modern C++ that allows developers to develop interactive web UIs with widgets, with out having to publish JavaScript. A server-side answer, Wt does ask for dealing with and webpage rendering, supplying built-in security, PDF rendering, a 2nd and 3D painting process, an item-relational mapping library, a charting library, and an authentication framework. The core library is open resource, supplying a hybrid solitary-webpage framework that can be deployed on Linux, Unix, or Home windows.

Produced by software package engineering firm Emweb, Wt is appropriate with HTML5 and HTML4 browsers as very well as with simple HTML person agents. And Wt can integrate with 3rd-occasion JavaScript libraries. With Wt, an application is defined as a hierarchy of widgets—ranging from generic widgets these kinds of as push buttons to specialised widgets these kinds of as an overall site widget. The widget tree is rendered as HTML/JavaScript in the browser. Wt can be downloaded from the task webpage. The two open resource and business use phrases are available. 


Yocto/GL is a collection of little C++seventeen libraries for building physically-based graphics algorithms. It is written in a details-oriented design for simplicity of improvement, and split into little libraries to make code navigation easier. Facts is saved in easy structs and accessed with free of charge functions or instantly.

Yocto/GL includes code from the PCG random variety generator, boost hash_combine, and exterior libraries from the general public domain or that are integrated with their own licenses. The developers of Yocto/GL want a purposeful method relatively than an item-oriented one particular, favoring free of charge functions to class me
thods. Features and details are defined in sibling namespaces contained in the yocto namespace.

Yocto/GL is produced below the MIT license and available from GitHub. A C++seventeen compiler is needed.

Copyright © 2021 IDG Communications, Inc.