“深入浅出”系列之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

无需代码!10分钟玩转RetinaFace+CurricularFace人脸识别

无需代码!10分钟玩转RetinaFace+CurricularFace人脸识别 你是不是一直觉得人脸识别技术很高深,需要懂编程、会配置环境、还要处理复杂的模型部署?现在我要告诉你一个好消息:完全不需要!即使你没有任何技术背景,也能在10分钟内搭建一个专业级的人脸识别系统。 本文专为产品经理、业务人员和对AI感兴趣的非技术人员设计。我们将使用ZEEKLOG星图平台提供的预置镜像,全程无需编写任何代码,就像使用普通手机应用一样简单。你只需要点击几下鼠标,就能体验RetinaFace+CurricularFace这个强大的人脸识别组合。 RetinaFace负责精准定位人脸位置,就像一双敏锐的眼睛;CurricularFace则负责识别身份,就像一个聪明的大脑。这两个技术组合在一起,能够实现准确率高达99%的人脸识别效果,广泛应用于安防、金融、社交等领域。 更重要的是,ZEEKLOG星图已经帮我们把所有复杂的技术细节都打包好了。你不需要安装Python、配置CUDA、下载模型权重,所有这些繁琐的工作都已经完成。你只需要关注最核心的问题:这个技术能不能满足我的业务需求? 读完本文后

By Ne0inhk
FLUX.2[klein]开源!小香蕉平替,本地部署AI绘画的极简方案

FLUX.2[klein]开源!小香蕉平替,本地部署AI绘画的极简方案

文章目录 * 前言 * 一、FLUX.2[klein]到底香在哪? * 二、部署前准备:硬件+环境一键搞定 * 1. 硬件要求(最低配置) * 2. 环境安装(3行命令搞定) * 三、极简部署方案:2种方式任选(新手首选方式1) * 方式1:Python脚本一键运行(纯代码,无界面,最快上手) * 步骤1:创建运行脚本 * 步骤2:运行脚本 * 方式2:ComfyUI可视化部署(适合喜欢拖拽操作的用户) * 步骤1:安装ComfyUI * 步骤2:下载FLUX.2[klein]模型 * 步骤3:启动ComfyUI并加载工作流 * 四、常见问题&优化技巧 * 1. 显存不足怎么办? * 2. 模型下载慢/

By Ne0inhk

OpenClaw实战系列01:OpenClaw接入飞书机器人全接入指南 + Ollama本地大模型

文章目录 * 引言 * 第一步:环境准备与核心思想 * 第二步:部署Ollama——把大模型“养”在本地 * 1. 安装 Ollama * 2. 拉取并运行模型 * 3. 确认API可用性 * 第三步:安装OpenClaw——AI大脑的“躯干” * 1. 安装Node.js * 2. 一键安装 OpenClaw * 3. 验证安装 * 第四步:打通飞书——创建并配置机器人 * 1. 创建飞书应用 * 2. 配置机器人能力 * 3. 发布应用 * 第五步:OpenClaw与飞书“握手” * 方法一:使用 onboard 向导重新配置(推荐最新版) * 方法二:手动添加渠道 * 批准配对 * 第六步:实战测试与玩法拓展

By Ne0inhk
【FPGA干货】详解高速ADC的串行LVDS数据捕获与接口设计

【FPGA干货】详解高速ADC的串行LVDS数据捕获与接口设计

【FPGA干货】详解高速ADC的串行LVDS数据捕获与接口设计 前言 在现代高速数据采集系统中,随着ADC采样率的不断提升(从几十MHz到几百MHz甚至更高),传统的并行CMOS/LVDS接口因占用引脚过多、布线困难等问题逐渐被串行LVDS接口取代。TI(德州仪器)的许多多通道ADC(如ADS528x, ADS529x系列)都采用了这种接口。 然而,串行LVDS接口虽然减少了PCB走线数量,却给FPGA接收端的设计带来了巨大的挑战:如何在几百Mbps甚至Gbps的速率下,稳定地实现位同步(Bit Alignment)和帧同步(Frame Alignment)? 1. 认识串行LVDS接口 一个典型的高速ADC串行LVDS接口通常包含以下三类信号: 1. 串行数据 (Serial Data, D0…DN−1D_0 \dots D_{N-1}D0 …DN−1 ):ADC的采样数据通过一对或多对LVDS线串行输出。 2. 位时钟 (Bit Clock, LCLK/DCLK):通常是DDR(

By Ne0inhk