“深入浅出”系列之C++:100个C++开源项目

“深入浅出”系列之C++:100个C++开源项目

1.C++服务器

项目地址:https://github.com/yuesong-feng/30dayMakeCppServer

2.《btop》(命令行资源监视器)

项目地址:https://github.com/aristocratos/btop

3.C++轻量级WebServer服务器

项目地址:https://github.com/qinguoyi/TinyWebServer

4.剪贴板工具

项目地址:https://github.com/Slackadays/Clipboard

5.dbg

项目地址:https://github.com/sharkdp/dbg-macro

6.计算机操作系统

项目地址:https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System

7.myscan

项目地址:https://github.com/nobackdoor/myscan

8.超轻量型 Http Server

项目地址:https://github.com/EZLippi/Tinyhttpd

9.跨平台的c++<->lua服务器快速解决方案

项目地址:https://github.com/jwcpp/jwEngine

10.C 语言编译器

项目地址:https://github.com/DoctorWkt/acwj

11.数据库

项目地址:https://github.com/cstack/db_tutorial

12.用于学习操作系统的简单内核

项目地址:https://github.com/Simple-XX/SimpleKernel

13.本地的 DNS 服务器

项目地址:https://github.com/pymumu/smartdns

14.libqalculate

项目地址:https://github.com/Qalculate/libqalculate

15.spdlog

项目地址:https://github.com/gabime/spdlog

16.CPlusPlusThings

项目地址:https://github.com/Light-City/CPlusPlusThings

17.indicators(进度条库)

项目地址:https://github.com/p-ranav/indicators

18.sudoku(数独游戏)

项目地址:https://github.com/mayerui/sudoku

19.Workflow(搜狗公司的服务器引擎)

项目地址:https://github.com/sogou/workflow

20.ThreadPool( 线程池实现)

项目地址:https://github.com/progschj/ThreadPool

21.Tinytetris(终端版俄罗斯方块游戏)

项目地址:https://github.com/taylorconor/tinytetris

22.MyTinySTL(实现属于你自己的 STL)

项目地址:https://github.com/Alinshans/MyTinySTL

23.C-Plus-Plus(用 C++ 实现的各种算法的集合)

项目地址:https://github.com/TheAlgorithms/C-Plus-Plus

24.calculator(计算器工具)

项目地址:https://link.zhihu.com/?target=https%3A//github.com/microsoft/calculator

25.手把手教你从零开始实现一个 JSON

项目地址:https://github.com/miloyip/json-tutorial

26.烂大街的HTTP服务器

项目地址:https://github.com/linyacool/WebServer

27.从0开始手把手教你做的服务器框架

项目地址:https://www.bilibili.com/video/av53602631/?from=search&seid=9029288577396826503

28.Webbench

项目地址:https://github.com/EZLippi/WebBench

29.轻量级键值型数据库

项目地址:https://github.com/youngyangyang04/Skiplist-CPP

30.Facebook

项目地址:https://github.com/facebook/folly

31.LevelDB

项目地址:https://github.com/google/leveldb

32.SRPC

项目地址:https://github.com/sogou/srpc

33.phxrpc


项目地址:https://github.com/Tencent/phxrpc

34.Sourcetrail

项目地址:https://github.com/CoatiSoftware/Sourcetrail

35.chinessChess(中国象棋)

项目地址:https://github.com/CoatiSoftware/Sourcetrail

36.hplayer(基于 C++ 实现的多画面播放器)

项目地址:https://github.com/ithewei/hplayer

37.FlowChar

项目地址:https://github.com/Gusabary/FlowChar

38.notepanda(记事本)

项目地址:https://github.com/ChungZH/notepanda

39.contour(终端模拟器)

项目地址:https://github.com/contour-terminal/contour

40.ThreadPool(C++11 线程池实现)

项目地址:https://github.com/progschj/ThreadPool

41.xournalpp(笔记软件)

项目地址:https://github.com/xournalpp/xournalpp

42.netdata(Linux 系统性能实时监控工具)

项目地址:https://github.com/netdata/netdata

43.uWebSocket

项目地址:https://github.com/uNetworking/uWebSockets

44.TeamTalk(即时通信工具)

项目地址:https://github.com/balloonwj/TeamTalk/tree/master

45.HP-Socket(高性能网络通信框架)

项目地址:https://github.com/ldcsaa/HP-Socket

46.hikyuu(基于 C++/Python 的开源量化交易研究框架)

项目地址:https://github.com/fasiondog/hikyuu

47.Tars(高性能RPC开发框架)

项目地址:https://github.com/TarsCloud/Tars

48.LiteIDE X

项目地址:https://github.com/visualfc/liteide

49.tcpcopy(分布式TCP压力测试工具)

项目地址:https://github.com/session-replay-tools/tcpcopy

50.TensorFlow(机器学习系统)

项目地址:https://github.com/tensorflow/tensorflow

51.Percona Server(MySQL 衍生版)

项目地址:https://github.com/percona/percona-server

52.ProxySQL (数据中间层项目)

项目地址:https://github.com/sysown/proxysql

53.Seafile(开源网盘云存储)

项目地址:https://github.com/haiwen/seafile

54.pybind11(轻量级的C++库)

项目地址:https://github.com/pybind/pybind11

55.Catch2(C++单元测试框架)

项目地址:https://github.com/catchorg/Catch2

56.nlohmann/json

项目地址:https://github.com/nlohmann/json

57.fmtlib/fmt(C++格式化库)

项目地址:https://github.com/fmtlib/fmt

58.OpenCV

项目地址:https://github.com/opencv/opencv

59.googletest(Google的C++测试框架)

项目地址:https://github.com/google/googletest

60.abseil-cpp(Google的C++代码库)

项目地址:https://github.com/abseil/abseil-cpp

61.DirectXTK(微软的DirectX工具包)

项目地址:https://github.com/microsoft/DirectXTK

62.Electron

项目地址:https://github.com/electron/electron

63.Avem(轻量级无人机飞控项目)

项目地址:https://github.com/avem-labs/Avem

64.Awesome-Embedded(嵌入式资源汇总的项目)

项目地址:https://github.com/nhivp/Awesome-Embedded

65.Libevent(事件驱动库)

项目地址:https://github.com/libevent/libevent

66.Memcached

来源:http://memcached.org/

项目地址:http://memcached.org/

67.FreeNOS

项目地址:https://github.com/Neirth/FreeNOS

介绍:FreeNOS (Free Niek's Operating System)是一个实验性的基于微内核的操作系统,用于学习,用c++编写。您可以根据GPLv3的条款随意使用该代码。

68.musikcube

项目地址:https://github.com/clangen/musikcube

介绍:一个跨平台的,基于终端的音频引擎,库,播放器和服务器写在c++中。

69.tmux

项目地址:https://github.com/tmux/tmux

介绍:Tmux是一种终端多路复用器:它允许在一个屏幕上创建、访问和控制多个终端。Tmux可以从屏幕上分离,在后台继续运行,然后重新连接。

70.How-to-Make-a-Computer-Operating-System

项目地址:https://github.com/SamyPesse/How-to-Make-a-Computer-Operating-System

介绍:如何用c++制作计算机操作系统

71.Serial-Studio

项目地址:https://github.com/Serial-Studio/Serial-Studio

介绍:多用途串行数据可视化处理程序

72.WinMerge

项目地址:https://github.com/WinMerge/winmerge

介绍:WinMerge 是适用于 Windows 的开源差异和合并工具。 WinMerge 可以比较文件夹和文件,以易于理解和处理的视觉文本格式呈现差异。

73.WizQTClient

项目地址:https://github.com/WizTeam/WizQTClient

介绍:该项目基于Qt,旨在提供一个基于云使用的优秀PKM(个人知识管理)桌面环境。

74.kingpin

项目地址:https://github.com/GeniusDai/kingpin

介绍:基于IO多路复用和线程池的高性能c++网络库

75.flamingo

项目地址:https://github.com/balloonwj/flamingo

介绍:Flamingo IM 是一款高性能、轻量级的开源即时通讯软件,目前包括服务器端、pc 端、安卓端,微信版本和 IOS 版本目前正在开发中。

76.ZLToolKit

项目地址:https://github.com/ZLMediaKit/ZLToolKit

介绍:一个基于C++11的轻量级网络框架,基于线程池技术可以实现大并发网络IO

77.duck_db

项目地址:https://github.com/enpeizhao/duck_db

介绍:c/c++ build a simple b+tree RDMS(利用c/c++ 开发基于B+树的小型关系型数据库 )

78.Easy-Reactor

项目地址:https://github.com/LeechanX/Easy-Reactor

介绍:Easy-Reactor是一个Linux C++高性能TCP服务框架,基于Reactor模式,支持单线程、多线程Reactor,也支持UDP服务

79.HighPerformanceConcurrentServer

项目地址:https://github.com/CandyConfident/HighPerformanceConcurrentServer

介绍:基于C++11、部分C++14/17特性的一个高性能并发httpserver,包括日志、线程池、内存池、定时器、网络io、http、数据库连接等模块。模块间低耦合高内聚,可作为整体也可单独提供服务。对各模块提供单元测试,对httpserver整体提供性能测试。

80.GoBangByCpp:C++实现双人对战五子棋项目

项目地址:https://github.com/zz2summer/GoBangByCpp

81. SQLiteCpp - 简单易用的Sqlite C++封装库

仓库地址:https://github.com/SRombauts/SQLiteCpp

简介:SQLiteCpp是一个对Sqlite数据库进行C++封装的开源库,代码行数约2,500行。它提供了简洁易用的接口,使得在C++项目中操作Sqlite数据库变得轻松自如。

82. spdlog - 热门C++日志库

仓库地址:https://github.com/gabime/spdlog

简介:spdlog是当前最热门的C++日志库之一,支持多种输出格式和级别。它提供了header only和compile source两种模式,源码简单易学,非常适合用于各种规模的C++项目。

83. cereal - 快速序列化库

仓库地址:https://github.com/USCiLab/cereal

简介:cereal是一个小巧而快速的二进制和JSON序列化库,代码行数约4000行。它支持多种数据类型,且易于集成到现有项目中,是处理数据序列化的得力助手。

84. args - 命令行参数解析库

仓库地址:https://github.com/Taywee/args

简介:args是一个简洁高效的命令行参数解析库,代码行数仅约800行。它提供了直观的接口和丰富的功能,使得解析命令行参数变得轻而易举。

85. fmt - 现代化C++格式化库

仓库地址:https://github.com/fmtlib/fmt

简介:fmt是一个现代化、安全且快速的C++格式化库,代码行数约3000行。它提供了易于使用的API和高效的性能,使得字符串格式化变得更加简单和直观。

86. abseil - Google内部C++库

仓库地址:https://github.com/abseil/abseil-cpp

简介:abseil是Google内部使用的C++库,包含了各种基础能力和工具。它提供了丰富的功能和高效的性能,是学习现代C++编程的绝佳资源。

87. folly - Facebook内部C++库

仓库地址:https://github.com/facebook/folly

简介:folly是Facebook内部使用的C++库,涵盖了线程池、内存池、异步IO、executor等多个领域。它提供了高效的性能和丰富的功能,适合用于大规模并发编程场景。

88. libzippp - 跨平台封装库

仓库地址:https://github.com/ctabin/libzippp

简介:libzippp是一个基于zlib和libzip的跨平台封装库,代码行数约2000行。它提供了简洁易用的接口,使得处理ZIP文件变得更加简单和高效。

89. cista - 序列化-反射库

仓库地址:https://github.com/felixguendling/cista

简介:cista是一个header only的序列化-反射库,代码行数约1500行。它提供了高效的数据序列化和反射功能,适合用于需要高性能数据处理的C++项目。

90. sqlite_orm - Sqlite C++ ORM封装

仓库地址:https://github.com/fnc12/sqlite_orm

简介:sqlite_orm是一个Sqlite的C++ ORM封装库,代码行数约3000行。它提供了简洁易用的ORM功能,使得在C++项目中操作Sqlite数据库变得更加简单和直观。

91. chromium - Google浏览器源码仓库

仓库地址:https://github.com/chromium/chromium

简介:chromium是Google浏览器的源码仓库,包括Edge等很多浏览器和应用都会基于chromium进行二次开发。阅读它的代码可以学习到很多现代C++编程的技巧和最佳实践。

92. godot engine - 游戏引擎

仓库地址:https://github.com/godotengine/godot

简介:godot engine是一个开源的游戏引擎,代码质量高且易于扩展。它提供了丰富的功能和高效的性能,适合用于开发各种类型的游戏。

93. ctpl - 简易C++线程池

仓库地址:https://github.com/vit-vit/ctpl

简介:ctpl是一个简易的C++线程池库,代码行数约500行。它提供了高效的线程管理和任务调度功能,适合用于需要并发编程的C++项目。

94.基于RPC的轻量级Redis

TinyReids_RPChttps://github.com/zk1556/TinyRedis_RPC95.基于Boost库的聊天服务器

Chat_Server_Boosthttps://github.com/zk1556/chat_server_boost

Read more

高效后台截图】Python 实现现代游戏窗口无闪烁、高性能 DX11/DX12 截图方案(附DLL资源)

🎮【高效后台截图】Python 实现现代游戏窗口无闪烁、高性能 DX11/DX12 截图方案(附DLL资源) 关键词:Python 游戏截图、DXGI 后台截图、无边框窗口捕获、DirectX 11/12 截图、高性能屏幕录制、Windows 游戏自动化、Python + DXGI、dxgi4py.dll 💡 为什么普通截图方式对现代游戏“失效”? 在 Windows 平台上,很多现代游戏(尤其是使用 DirectX 11/12 或 Vulkan 渲染的游戏)会启用 硬件加速 和 独占全屏模式。传统的截图方法(如 PIL.ImageGrab、pyautogui.screenshot() 或 cv2.

By Ne0inhk

Python 虚拟环境管理工具 UV:从安装到高级用法的详细教程

前言 在 Python 开发中,管理不同项目的依赖包和 Python 版本是开发者常常遇到的问题。不同项目可能依赖不同版本的库,甚至同一个库在不同版本下的行为可能不同。为了避免这些问题,使用虚拟环境成为了解决方案。虚拟环境通过隔离每个项目的依赖,避免了版本冲突问题。 在 Python 中,常用的虚拟环境管理工具有 virtualenv、venv 和一些第三方工具,如 UV。本文将详细介绍如何使用 UV 虚拟环境管理工具,从安装、创建虚拟环境、管理 Python 版本和依赖包,到切换和删除虚拟环境。 一、什么是 UV? UV 是一个简洁、轻量级的 Python 虚拟环境管理工具。它与传统的虚拟环境管理工具(如 virtualenv 或 venv)相比,提供了更加简单和清晰的命令行界面,使得开发者可以高效管理 Python 环境。UV

By Ne0inhk
异步编程实战:构建高性能Python网络应用

异步编程实战:构建高性能Python网络应用

目录 摘要 1 异步编程:为什么它是现代网络应用的必然选择 1.1 同步架构的瓶颈与异步架构的优势 2 核心技术原理深度解析 2.1 asyncio事件循环:异步编程的发动机 2.2 aiohttp框架架构解析 3 异步数据库驱动实战 3.1 异步数据库连接池管理 3.2 多数据库支持与连接池优化 4 WebSocket实时通信实战 4.1 构建高性能WebSocket服务器 4.2 实时数据推送与流处理 5 企业级实战案例 5.1 构建异步API网关 6 性能优化与故障排查 6.1 性能优化实战技巧 6.2 常见故障排查指南 7 总结与展望 7.1

By Ne0inhk
2025华为OD机试真题+全流程解析+备考攻略+经验分享+Java/python/JavaScript/C++多种语言最佳实现

2025华为OD机试真题+全流程解析+备考攻略+经验分享+Java/python/JavaScript/C++多种语言最佳实现

华为OD全流程解析,备考攻略 快捷目录 * 华为OD全流程解析,备考攻略 * 一、什么是华为OD? * 二、什么是华为OD机试? * 三、华为OD面试流程 * 四、华为OD薪资待遇及职级体系 * 五、ABCDE卷类型及特点 * 六、题型与考点 * 七、机试备考策略 * 八、薪资与转正 * 九、常见问题解答 * 十、总结 * 2025 华为OD 机试真题 B卷 100分题型 * 2025 华为OD 机试真题 B卷 200分题型 * 2025 华为OD 机试真题 A卷 100分题型 * 2025 华为OD 机试真题 A卷 200分题型 一、什么是华为OD? 华为OD(Outsourcing Dispacth)

By Ne0inhk