Linking This blog derives from my notes while reading Chapter7 Linking from Computer Systems: A Programmers Perspective Course Website: CS:APP3e, Bryant and O’Hallaron (cmu.edu) Book: Computer Systems: A Prog 2022-10-30 gcc linking
使用Mysqlpp Recent projects require using mysqlpp as a C++<->mysql middleware. This blog records basic usage and advice on using the library. Most words are extracted from official docs and reference link 2022-02-06 C++ mysqlpp
Protobuf-C++ 本文介绍如何在C++工程中使用Google Protocol Buffer。 Protocol Buffer简称Protobuf,是Google的一款针对序列化结构化数据而设计的,语言中立的,平台中立的可拓展机制。可以将之类比理解为xml,但是protobuf更小更快,也更简单。 使用时,需要用protobuf自己的一套语法定义一次希望序列化的数据类型,用protoc编译器编译之后便可以使用生成的 2021-12-02 C++ Protobuf
发布/订阅者模式——Redis 最近的项目需要用到Redis的发布/订阅者模式,在此进行学习记录 本文主要参考了官方文档Pub/Sub – Redis 2021-11-25 Redis Middleware
Threads and Boost.Asio 介绍了Boost.Asio下的线程模型 主要参考 Threads and Boost.Asio - 1.72.0 2021-11-22 C++ Boost Asio
Proactor in Boost.Asio 本文主要对 Asio中的Proactor设计模式相关文档进行了理解和翻译。 主要参考The Proactor Design Pattern: Concurrency Without Threads - 1.72.0 (boost.org) 笔者觉得很有启发性的原文都已经采用引用罗列。 鉴于本人的外语水平和有限的工程经验,博文多有纰漏,恳请大佬在评论区斧正。 2021-11-20 C++ Boost Asio
营养学常识 本文为笔者阅读《健身营养百科全书》后摘录的营养学和健身领域的常识,不定时更新。 如果熟悉高中生物和化学范畴内的知识,理解能更深刻。 2021-11-19 Life Nutriology Common Sense
Boost Asio介绍 博文主要参考了Boost官网中关于Asio-Anatomy的文档,笔者对文档进行了翻译理解和整合。 翻译自Basic Boost.Asio Anatomy - 1.72.0 2021-11-19 C++ Boost Asio