
CSAPP
文章平均质量分 70
kurama_sai
努力学习各种知识中。。。数学烂的孩子伤不起,基础差的孩子更伤不起。。。。T^T
本科毕业,继续读书ing
展开
-
关于CSAPP读到的一些(1)——Alignment(出自Machine-Level Representation of Program)
话说从来没有考虑过变量定义的顺序会给程序运行时候的效率造成多大的影响。原来一直都比较天真,暑假开始看了CSAPP,类似于计算机体系结构,但是是从编程的角度来写的,现在还在和影印版死磕中,用了一个多礼拜的时间总算读完了Machine-Level Representation of Program这一章,脑袋里面只剩下。。。GCC。。。和汇编语言。。。汗。。不过编译器真的很强大,直接造成我们只管写代码原创 2012-07-24 14:56:13 · 1562 阅读 · 2 评论 -
Chapter7 Linking(2)——CSAPP读书笔记
How linkers resolve Multiply defined global symbols Rules1. Multiply strong symbols are not allowed2. Given a strong symbol and multiple weak symbols, choose the strong one.3. Given multiple wea原创 2012-08-29 17:00:33 · 1138 阅读 · 4 评论 -
Chapter 7 Linking——1(CSAPP读书笔记)
Static linkingObject fileRelocatable object fileExecutable object fileShared object file: A special type of relocatable object file现在的类unix系统主要使用的object file 类型为ELF(Unix Executable and Linkable原创 2012-08-23 12:45:37 · 988 阅读 · 2 评论