Skip to content

Commit

Permalink
finish CSAPP
Browse files Browse the repository at this point in the history
  • Loading branch information
iewug committed Nov 14, 2021
1 parent 004af78 commit a696061
Show file tree
Hide file tree
Showing 6 changed files with 786 additions and 1 deletion.
2 changes: 2 additions & 0 deletions book/csapp.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ <h2><a href="./csapp/AttackLab.html">AttackLab</a></h2>
<h2><a href="./csapp/ArchLab.html">ArchitectureLab</a></h2>
<h2><a href="./csapp/CacheLab.html">CacheLab</a></h2>
<h2><a href="./csapp/ShellLab.html">ShellLab</a></h2>
<h2><a href="./csapp/MallocLab.html">MallocLab</a></h2>
<h2><a href="./csapp/结语.html">结语</a></h2>
<footer>
&copy; 2021, TomatoEater
<br>
Expand Down
713 changes: 713 additions & 0 deletions book/csapp/MallocLab.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/csapp/ShellLab.html

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions book/csapp/结语.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!DOCTYPE html>
<html lang="zh">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>结语</title>
<link rel="stylesheet" type="text/css" href="../../main.css" media="screen and (min-width: 481px)">
<link rel="stylesheet" type="text/css" href="../../main-mobile.css" media="screen and (max-width: 480px)">
</head>

<body>
<nav>
<ul>
<li><a href="../../index.html">主页</a></li>
<li><a href="../../about.html">关于</a></li>
<li class="selected"><a href="../../note.html">笔记</a></li>
<li><a href="../../science.html">杂记</a></li>
<li><a href="../../lab.html">实验</a></li>
</ul>
</nav>

<h1>我眼中的CSAPP</h1>
<p class="right">by TomatoEater<br>2021年11月</p>
<p><strong>仅以本篇作结</strong></p>
<p>
差不多不到半年时间把csapp看完了吧,lab也算是做了7个。写个几百字作结。
</p>
<p>
<i>下面只是个人观点,而且可能很激进。</i>
</p>
<h3>1. 振奋人心的实验</h3>
<p>
不得不说csapp的实验设计是绝妙的。作为一个计算机系统方面的书,要设计实验并非易事。csapp利用c程序给读者模拟了CPU、cache、heap这些底层结构、所有的lab都有自己的本地测试程序。甚至为了介绍流水线,作者还设计了一整套玩意——HCL描述的CPU、Y86-64汇编程序和它生成目标文件、用HCL描述的CPU生成Y86-64的汇编器。我是被作者的用心所震撼到了。推荐除了Architecture Lab的所有实验(当然真的想玩它模拟的CPU也行)。
</p>
<h3>2. 读的进的书</h3>
<p>
其实csapp的书对第一遍读并不是那么容易。概念的引入做的可以更好。常常介绍一个概念,马上就把它的好处坏处用处在开头罗列出,而此时读者还没有构建出感性认识,一下子是难以接受。当然,这算是很苛刻了,这总比一些半厘米厚、一页读一天的书好吧。而且人家是正统的教材,想写成ostep那样开些愚蠢的笑话,实在是难为它了。此外,csapp语言还是很流畅的,语法用词都比较贴近生活。
</p>
<h3>
3. 一般的视频
</h3>
<p>
<a href="https://www.bilibili.com/video/BV1iW411d7hd?from=search&seid=7050958394221426115&spm_id_from=333.337.0.0" target="_blank">b站视频</a>上老师讲课的感觉真的很一般,没有酣畅淋漓之感。
</p>
<p>
<i>大体如上吧</i>
</p>
<h2>总之</h2>
<p>
入门佳书,无脑吹爆
</p>
<!--<p>唉,csapp最后两章我其实一点也没有掌握,套接字和多线程的部分。虽然多线程其实在ostep里面是看过了,但是没有动手写过。不过学校课程要落下了,不能再这样下去了,不能拿gpa开玩笑啊。csapp如果再拖到寒假,我也没有心情再去看了,不如这么草率作结罢。呜呼哀哉。</p>-->
<footer>
&copy; 2021, TomatoEater
<br>
All trademarks and registered trademarks appearing on
this site are the property of their respective owners. ( :
</footer>
</body>

</html>
4 changes: 4 additions & 0 deletions main-mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ footer {
text-align: center;
}

.right {
text-align: right;
}

.line-through {
text-decoration: line-through;
}
Expand Down
4 changes: 4 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ footer {
text-align: center;
}

.right {
text-align: right;
}

.line-through {
text-decoration: line-through;
}
Expand Down

0 comments on commit a696061

Please sign in to comment.