Boost (C++ libraries)
Boost is a set of libraries for the C++ programming language that provides support for tasks and structures such as linear algebra, pseudorandom number generation, multithreading, image processing, regular expressions, and unit testing. It contains 162 individual libraries (as of version 1.73).[4]
Boost logo | |
Initial release | September 1, 1999[1] |
---|---|
Stable release | |
Repository | |
Written in | C++ |
Operating system | Cross-platform |
Type | Libraries |
License | Boost Software License |
Website | www |
Most of the Boost libraries are licensed under the Boost Software License, designed to allow Boost to be used with both free and proprietary software projects. Many of Boost's founders are on the C++ standards committee, and several Boost libraries have been accepted for incorporation into the C++ Technical Report 1, the C++11 standard (e.g. smart pointers, thread, regex, random, ratio, tuple)[5][6] and the C++17 standard (e.g. filesystem, any, optional, variant, string_view).[7]
Design
The libraries are aimed at a wide range of C++ users and application domains. They range from general-purpose libraries like the smart pointer library, to operating system abstractions like Boost FileSystem, to libraries primarily aimed at other library developers and advanced C++ users, like the template metaprogramming (MPL) and domain-specific language (DSL) creation (Proto).
In order to ensure efficiency and flexibility, Boost makes extensive use of templates. Boost has been a source of extensive work and research into generic programming and metaprogramming in C++.
Most Boost libraries are header based, consisting of inline functions and templates, and as such do not need to be built in advance of their use. Some Boost libraries coexist as independent libraries.[8][9]
Associated people
The original founders of Boost that are still active in the community include Beman Dawes and David Abrahams. An author of several books on C++, Nicolai Josuttis, contributed to the Boost array library in 2001. There are mailing lists devoted to Boost library use and library development, active as of 2020.[10]
License
Latest version | 1.0 |
---|---|
Published | 17 August 2003 |
FSF approved | Yes |
OSI approved | Yes |
GPL compatible | Yes |
Copyleft | No |
Linking from code with a different licence | Yes |
Website | www |
Boost is licensed under its own free, open-source license, known as the Boost Software License.[11] It is a permissive license in the style of the BSD license and the MIT license, but without requiring attribution for redistribution in binary form.[12] The license has been OSI-approved since February 2008[13][14] and is considered a free software license, compatible with the GNU General Public License, by the Free Software Foundation.[15]
See also
- Apache Portable Runtime – used by the Apache HTTP Server
- GLib – the equivalent upon which GNOME is built
- KDE Frameworks – the equivalent upon which KDE Software Compilation is built
- List of C++ template libraries
- Software using the Boost license (category)
- Standard Template Library
References
- "Old Versions". Retrieved 11 April 2017.
- "Boost Releases on GitHub". Retrieved 28 April 2020.
- "Boost Version History". Retrieved 28 April 2020.
- "List of Boost libraries".
- "Library Technical Report". JTC1/SC22/WG21 - The C++ Standards Committee. 2 July 2003. Retrieved 1 February 2012.
- "A Threading API for C++".
- "StackOverflow.com site".
- "Asio web site".
- "Spirit web-site".
- "Boost Mailing Lists (A.K.A. Discussion Groups)". Retrieved 28 Apr 2020.
- http://www.boost.org/LICENSE_1_0.txt
- Dawes, Beman. "Boost Software License". Retrieved 2016-08-01.
- "Boost mailing list archive". Archived from the original on 2016-11-07.
- "Boost Software License 1.0 (BSL-1.0) | Open Source Initiative".
- "Various Licenses and Comments about Them - GNU Project - Free Software Foundation (FSF)".
Further reading
- Demming, Robert & Duffy, Daniel J. (2010). Introduction to the Boost C++ Libraries. Volume 1 - Foundations. Datasim. ISBN 978-94-91028-01-4.
- Demming, Robert & Duffy, Daniel J. (2012). Introduction to the Boost C++ Libraries. Volume 2 - Advanced Libraries. Datasim. ISBN 978-94-91028-02-1.
- Mukherjee, Arindam (2015). Learning Boost C++ Libraries. Packt. ISBN 978-1-78355-121-7.
- Polukhin, Antony (2013). Boost C++ Application Development Cookbook. Packt. ISBN 978-1-84951-488-0.
- Polukhin, Antony (2017). Boost C++ Application Development Cookbook (2 ed.). Packt. ISBN 978-1-78728-224-7.
- Schäling, Boris (2011). The Boost C++ Libraries. XML Press. ISBN 978-0-9822191-9-5.
- Schäling, Boris (2014). The Boost C++ Libraries (2 ed.). XML Press. p. 570. ISBN 978-1-937434-36-6.
- Siek, Jeremy G.; Lee, Lie-Quan & Lumsdaine, Andrew (2001). The Boost Graph Library: User Guide and Reference Manual. Addison-Wesley. ISBN 978-0-201-72914-6.
External links
The Wikibook C++ Programming has a page on the topic of: Libraries/Boost |