开源C++库

前言

这个页面的目的是为了创建一个完整的C++开源库列表,这样当你需要一个特定功能的实现时,不用浪费时间在在网上搜索了。

如果你知道对别人有用的库,可以添加在这里。添加的内容没有什么限制,唯一的一点,库的源代码必须是能够下载的。

这些网页希望对你游泳,但不提供任何担保,这些页面可能过时或者有错误,如果你发现并修改这些错误,那真是太好了。

Generic

  • Boost -  large collection of generic libraries (Boost License)
  • GSL -  Guidelines Support library implementation, recommended by Bjarne Stroustrup, Herb Sutter and Co in C++ Core Guidelines
  • BDE -  The Bloomberg Development Environment core libraries from Bloomberg L.P. (Apache License)
  • Dlib -  networking, threads, graphical interfaces, data structures, linear algebra, machine learning, XML and text parsing, numerical optimization, Bayesian nets, and numerous other tasks (Boost License)
  • JUCE -  An extensive, mature, cross-platform C++ toolkit (GPL License)
  • Loki -  design patterns
  • Reason -  xml, xpath, regex, threads, sockets, http, sql, date-time, streams, encoding and decoding, filesystem, compression (GPL License)
  • Yomm11 -  Open multi-methods for C++11 (Boost License)
  • Folly -  Facebook open-source library. Library of C++11 components designed with practicality and efficiency in mind.
  • Abseil -  An open-source collection of C++ library code from Google designed to augment the C++ standard library.
  • cxxomfort - Backports of C++ features (C++11 to C++03 and C++1y proposals to C++11/C++03).
  • libsourcey -  Cross-platform C++11 library for high speed networking and media encoding. HTTP, WebSockets, TURN, STUN, Symple and more...
  • OnPosix -  C++ library providing several abstractions (e.g., threading, networking, logging, IPC, etc.) on POSIX platforms.
  • Ultimate++ -  Cross-platform rapid application development framework
  • CAF - The C++ Actor Framework (CAF) is an open source C++11 actor model implementation featuring lightweight & fast actor implementations, pattern matching for messages, network transparent messaging, and more (BSD License).
  • cpp-mmf - A C++98 library that encapsulates memory-mapped-files for POSIX or Windows
  • CommonPP - Multi-purpose library with a strong emphasis on getting metrics out of a project. (BSD)
  • Better Enums - Reflective enums (enum to string, iteration, etc.) with constexpr support. (BSD)
  • Smart Enum - "to_string", "from_string" and more for your enums. (Boost License)
  • nytl - Generic C++17 header-only utility template library. (Boost License)
  • SaferCPlusPlus -  SaferCPlusPlus - Safe compatible substitutes for unsafe C++ primitives, including pointers, int and std::vector. (Boost License)
  • fcppt -  Freundlich's C++ Toolkit (fcppt) is a collection of libraries focusing on improving general C++ code by providing better types and making use of functional programming.
  • bitfield.h -  Bit field structure facility, more portable/flexible than the base language facility.
  • composite_op.h -  Basic class data member introspection, cumbersome and often non-re-entrant, but sometimes useful.
  • Abstract Intrusive Containers -  More flexible than boost::intrusive, but not STL-compatible.
  • Yato -  Modern C++(11/14) cross-platform STL-styled and STL-compatible library with implementing containers, ranges, iterators, type traits and other tools and experiments (MIT License)
  • Kangaru -  A dependency injection container for C++11 and C++14 (MIT License)

Communication

  • libnavajo -  a light but powerful API including http server for web and RESTful application development, supporting SSL, authentification, cookies and session management, including Websocket server support... (LGPL License)
  • C++ RESTful framework -  C++ micro-framework designed to be embedded into a wide range of applications.
  • C++ REST SDK - asynchronous HTTP client and listener, asynchronous Stream, URI, JSON
  • cpr - a modern C++ HTTP requests library
  • cpp-netlib - cpp-netlib: The C++ Network Library
  • cpp-redis - C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform.
  • tacopie - C++11 TCP Library
  • Boost.Asio - asynchronous and synchronous networking, timers, serial I/O
  • Boost.Beast - HTTP and WebSocket library built on top of Boost.Asio
  • gsoap -  C/C++ development toolkit for XML data bindings, fast WSDL/SOAP/XML Web services, WS-Security, JSON/XML-RPC RESTful services
  • POCO -  networking: encryption, HTTP; Zip files
  • omniORB -  the fastest, complete and portable CORBA ORB implementation in C++
  • ACE -  asynchronous networking, event demultiplexing, messaging, CORBA
  • wvstreams
  • Unicomm -  asynchronous networking, high-level TCP communication framework
  • restful_mapper - ORM for consuming RESTful JSON APIs in C++
  • zeromq -  fast message queue
  • curlpp -  C++ wrapper for CURL library
  • Apache Thrift -  The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.
  • libashttp -  asynchronous HTTP client library
  • Simple C++ REST library -  Very simple and self documenting library for creating a REST API in your c++ application
  • libtins - Network packet crafting and sniffing library
  • PcapPlusPlus - Multiplatform C++ network sniffing and packet parsing and crafting framework
  • HTTPP - Simple, production ready HTTP server built on top of Boost and a client built on top of libcurl. (BSD)
  • The Silicon C++14 Web Framework - Fast and Robust Web APIs (MIT).
  • ngrest - Fast and easy in use JSON RESTful Web Services Framework (Apache2).
  • restc-cpp - Takes the pain out of accessing JSON API's from C++. HTTP Client, native C++ class to/from JSON serialization, asynchronous IO trough boost::asio coroutines. C++14. (MIT)
  • OpenDDS - DDS implementation
  • Breep -  Event based, high-level, peer-to-peer library, allowing users to directly send and receive objects.
  • uvw - libuv wrapper in modern C++
  • rest_rpc - modern, simple, easy to use rpc framework
  • EasyHttp -  A cross-platform HTTP client library with a focus on usability and speed, supporting http response caching and more. (MIT License)

Graphic user interface

  • FLTK
  • nana[doc] - GUI programming in modern C++ style (Boost License)
  • WxWidgets[src][doc]
  • OWLNext - Modern update to OWL for writing GUI applications in standard C++ on Windows
  • tiny file dialogs -  a single C C++ cross-platform file (no init, no main loop, 6 modal function calls)
GTK+
Qt

General Multimedia

Graphics

Plotting
Formats

Audio

  • soundtouch
  • KFR -  Fast, modern DSP framework, DFT/FFT, Audio resampling, FIR/IIR filters, Biquad
  • Aquila -  cross-platform DSP library
Fingerprinting
Formats
Tagging
CD

Image Processing


Video

3D Graphics

  • Vulkan
  • OpenGL
  • bgfx Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
  • Ogre3D
  • GLEW OpenGL function loading
  • Epoxy Modern successor to GLEW. Abstracts difference between some kinds of GL contexts, which makes it sometimes simpler to use than GLEW. Used by GTK+ project since 2015.
  • GLFW OpenGL window manager
  • GLM Header only C++ mathematics library for rendering
  • assimp 3D model loading
  • VTK
  • Magnum Lightweight and modular C++11/C++14 graphics middleware for games and data visualization
  • Irrlicht
  • Horde3D
  • Visionaray A C++ ray tracing template library
  • Open CASCADE SDK for 3D CAD/CAM/CAE applications
  • OpenSceneGraph

Game Engine Architecture

Internationalization

  • IBM ICU
  • gettext
  • spirit-po -  A small, header-only library which parses po-files and provides an interface similar to GNU libintl. Based on boost::spirit.

Math

Linear algebra
Graph theory
Class Library for Numbers
Machine Learning
Computational geometry
Automata theory

Financial Calculations

Concurrency

Containers

Metaprogramming

  • Boost.MPL - Original metaprogramming library, targeted at C++03, slow
  • Boost.Hana - New metaprogramming library for both types and values
  • Metal - Uses lazy metafunctions (like MPL), 100% SFINAE-friendly, optimized for SLOC
  • Brigand - Uses eager metafunctions, optimized for best performance
  • Meta - Uses eager metafunctions, middle ground between metal and brigand wrt performance
  • Boost.Metaparse - Compile-time parser library, producing types, values, and metafunctions from compile-time strings
  • Boost.Proto - A library for building expression template-backed EDSLs
  • CoMeta - Lightweight, header-only C++14 metaprogramming library
  • visit_struct -  A miniature reflection library, providing structure visitors for C++11. Self-contained, 100-200 lines of code depending how you count.

Serialization

Testing

Benchmarking

  • Celero
  • gperftools -  'Google Performance Tools' includes a high-performance, multi-threaded malloc implementation plus tools for benchmarking heap allocation and CPU utilization.

XML

JSON

Web

GPS

Databases

Cryptography

File metadata

Text

Parse
  • PEGTL -  Parsing Expression Grammar Template Library
Search
Template Engine
  • inja -  A Template Engine for Modern C++

Terminal

Configuration

Embedded languages bindings

Embedded/realtime

PDF

Logging

  • Log4cpp - A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations (LGPL)
  • spdlog - Super fast, header only, C++ logging library
  • plog - Portable and simple log for C++ in less than 1000 lines of code (MPL2)
  • Boost.Log

See also

C documentation for  Non-ANSI/ISO Libraries
原文链接:http://en.cppreference.com/w/cpp/links/libs

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值