…try to make your version changing small bits at a time. https://github.com/redis/redis/tree/unstable/src Entry point here at line 6816: https://github.com/redis/redis/blob/unstable/src/server.c Also "Code Reading" will be useful. - https://www.amazon.com/Code-Reading-Open-Source-Perspective/... "Code Reading" tends to be criticized, but I think mostly unfairly.
The impression I got from "Code Reading" by Diomidis Spinellis is that NetBSD is fantastic for learning the internals of a real UNIX. The emphasis has always been on correctness and clarity first.
You may want to look at the book 'Code Reading' ; it's been a while, and I gave away my copy, but it was useful http://www.amazon.com/Code-Reading-Open-Source-Perspective/d...
这本书我怎么推荐都不为过:Diomidis Spinellis 的《Code Reading: The Open Source Perspective》。另见 https://news.ycombinator.com/item?id=21006995 里面还有几本别的推荐。
I can't recommend this book enough: Code Reading: The Open Source Perspective by Diomidis Spinellis. See also https://news.ycombinator.com/item?id=21006995 for several others.
In the vein of working effectively with legacy code, "Reading Code" by Spinelli taught me a lot when I was a younger engineer https://www.amazon.com/Code-Reading-Open-Source-Perspective/... (Amazon says I bought it 14 years ago!)
I just skimmed the article, but a more comprehensive text on acquiring the skill to read code is the book Code Reading, from Diomedis Spinelli [1]. [1]: https://www.amazon.com/Code-Reading-Open-Source-Perspective/...
……试着一次只改动一小部分来实现你自己的版本。https://github.com/redis/redis/tree/unstable/src 入口点在第 6816 行:https://github.com/redis/redis/blob/unstable/src/server.c 另外《Code Reading》也会很有用。- https://www.amazon.com/Code-Reading-Open-Source-Perspective/... 《Code Reading》常常被人批评,但我感觉大多有失偏颇。
…try to make your version changing small bits at a time. https://github.com/redis/redis/tree/unstable/src Entry point here at line 6816: https://github.com/redis/redis/blob/unstable/src/server.c Also "Code Reading" will be useful. - https://www.amazon.com/Code-Reading-Open-Source-Perspective/... "Code Reading" tends to be criticized, but I think mostly unfairly.
读 Diomidis Spinellis 的《Code Reading》给我留下的印象是,NetBSD 非常适合用来学习真正的 UNIX 内部原理。它的重点向来是正确性和清晰度第一。
The impression I got from "Code Reading" by Diomidis Spinellis is that NetBSD is fantastic for learning the internals of a real UNIX. The emphasis has always been on correctness and clarity first.
你可以去翻翻《Code Reading》这本书;虽然过去挺久了,我的那本也送人了,但它确实很有用 http://www.amazon.com/Code-Reading-Open-Source-Perspective/d...
You may want to look at the book 'Code Reading' ; it's been a while, and I gave away my copy, but it was useful http://www.amazon.com/Code-Reading-Open-Source-Perspective/d...
这本书我怎么推荐都不为过:Diomidis Spinellis 的《Code Reading: The Open Source Perspective》。另见 https://news.ycombinator.com/item?id=21006995 里面还有几本别的推荐。
I can't recommend this book enough: Code Reading: The Open Source Perspective by Diomidis Spinellis. See also https://news.ycombinator.com/item?id=21006995 for several others.
顺着高效处理 legacy code 的思路,我年轻时当工程师那会儿,Spinelli 的《Reading Code》让我受益匪浅 https://www.amazon.com/Code-Reading-Open-Source-Perspective/...(亚马逊显示我是在 14 年前买的!)
In the vein of working effectively with legacy code, "Reading Code" by Spinelli taught me a lot when I was a younger engineer https://www.amazon.com/Code-Reading-Open-Source-Perspective/... (Amazon says I bought it 14 years ago!)
我刚粗略扫了下这篇文章,不过想更系统地掌握读代码这项技能,可以看 Diomedis Spinelli 的《Code Reading》[1]。[1]: https://www.amazon.com/Code-Reading-Open-Source-Perspective/...
I just skimmed the article, but a more comprehensive text on acquiring the skill to read code is the book Code Reading, from Diomedis Spinelli [1]. [1]: https://www.amazon.com/Code-Reading-Open-Source-Perspective/...