搞了个 C++ 构建系统

我平时的工作内容是开发在服务端上运行的网络程序,主要语言是 C++,并且几乎全部跑在统一的机器环境上。所以我们一直以来都在使用一套简单从 blade-build 魔改


1 RED FLAGS 1.1 Shallow ModuleA shallow module is one whose interface is complicated relative to the functionality it provides. Shallow modules don’t help much in the battle against complexity, because the benefit they provide (not having to learn about how they work internally) is negated by the cost of learning and using their interfaces. Small modules tend to be shallow. 1.2 Information LeakageInformation leakage occurs

Paxos Note

0.1 Symbols And Structure 表决 $B$ 1 2 3 4 5 6 struct Ballot { dec: Decree, // 表决的内容 vot: Set<Node>, // 表决投票通过的节点 qrm: Set<Node>, // 表决参与的节点 bal: u64, // 表决编号 } A ballot is said to be successful, if every quorum member voted. In math: $$ B_{qrm}