Software:Boost (C++ libraries)

From HandWiki
Revision as of 12:27, 9 February 2024 by AnLinks (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: C++ libraries
Boost
Boost logo
Boost logo
Initial releaseSeptember 1, 1999; 25 years ago (1999-09-01)[1]
Written inC++
Operating systemCross-platform
TypeLibraries
LicenseBoost Software License
Websitewww.boost.org

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 164 individual libraries (as of version 1.76).[2]

All 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.[3] 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)[4][5] and the C++17 standard (e.g. filesystem, any, optional, variant, string_view).[6]

The Boost community emerged around 1998, when the first version of the standard was released. It has grown continuously since then and now plays a big role in the standardization of C++. Even though there is no formal relationship between the Boost community and the standardization committee, some of the developers are active in both groups.

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++.[7]

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 includes 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 2023).[10]

License

Boost Software License
Latest version1.0
Published17 August 2003
FSF approvedYes[11]
OSI approvedYes
GPL compatibleYes[11]
CopyleftNo[11]
Linking from code with a different licenseYes

Boost is licensed under its own free, open-source license, known as the Boost Software License.[12] 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.[13] The license has been OSI-approved since February 2008[14][15] and is considered a free software license, compatible with the GNU General Public License, by the Free Software Foundation.[11]

See also

References

  1. "Old Versions". https://www.boost.org/users/history/old_versions.html. 
  2. "List of Boost libraries". https://www.boost.org/doc/libs/?view=condensed. 
  3. "Boost Software License". https://www.boost.org/users/license.html. 
  4. "Library Technical Report". JTC1/SC22/WG21 - The C++ Standards Committee. 2 July 2003. http://www.open-std.org/jtc1/sc22/wg21/docs/library_technical_report.html. 
  5. "A Threading API for C++". http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2090.html. 
  6. "StackOverflow.com site". https://stackoverflow.com/a/8852421/2006632. 
  7. Abrahams, David; Gurtovoy, Aleksey (10 December 2004). C++ Template Metaprogramming: Concepts, Tools, and Techniques from Boost and Beyond. Pearson Education. pp. 408. 
  8. "Asio web site". http://think-async.com/Asio. 
  9. "Spirit web-site". http://boost-spirit.com/home/. 
  10. "Boost Mailing Lists (A.K.A. Discussion Groups)". http://www.boost.org/community/groups.html. 
  11. 11.0 11.1 11.2 11.3 "Various Licenses and Comments about Them - GNU Project - Free Software Foundation (FSF)". https://www.gnu.org/licenses/license-list.html#boost. 
  12. "Boost Software License - Version 1.0" (TXT). August 17, 2003. https://www.boost.org/LICENSE_1_0.txt. 
  13. Dawes, Beman. "Boost Software License". http://www.boost.org/users/license.html. 
  14. "Boost mailing list archive". http://thread.gmane.org/gmane.comp.lib.boost.devel/178539. 
  15. "Boost Software License 1.0 (BSL-1.0) | Open Source Initiative". 5 February 2008. http://opensource.org/licenses/BSL-1.0. 

Further reading

  • Demming, Robert; Duffy, Daniel J. (2010). Introduction to the Boost C++ Libraries. 1 - Foundations. Datasim. ISBN 978-94-91028-01-4. 
  • Demming, Robert; Duffy, Daniel J. (2012). Introduction to the Boost C++ Libraries. 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. pp. 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