MIT 6.S081 Lecture 1 Notes

One benefit of summer was that each day we had more light to read by.

二叉树的序列化与反序列化

We awaken in others the same attitude of mind we hold toword them.

const cast后可能的undefined behavior

Modifying the const object through a reference or pointer to non-const type results in undefined behavior. Any attempt to refer to a volatile object through a glvalue of non-volatile type (e.g. through a reference or pointer to non-volatile type) results in undefined behavior.

虚函数调用与分支预测

Beware of indirect branch prediction.

Beware of buffer after dup2 stdout

Buffered IO and unbuffered IO are tit-for-tat.