每位程式開發者都該有的記憶體知識
本文翻譯自 Ulrich Drepper 於 2007 年撰寫的論文《What Every Programmer Should Know About Memory》(版次: 1.0),原文共 114 頁。
在 CPU 核 (core) 在速度和數量增長的同時,記憶體存取限制著當今大多數程式的效率,甚至未來一段時間也會如此。 儘管硬體設計者已提出日趨複雜的記憶體處理與加速機制 —— 例如 CPU 快取 (cache) —— 但若程式開發者無法善用,仍無法有效發揮硬體作用。 不幸的是,論及電腦的記憶體子系統或 CPU 快取時,無論是其內部的結構,抑或存取成本,對大多程式開發者仍相當陌生。 本文解釋用於現代電腦硬體的記憶體子系統的結構、闡述 CPU 快取發展的考量、它們如何運作,以及程式該如何針對記憶體操作調整,從而達到最佳的效能。
翻譯資訊
[info] 關於繁體中文翻譯內容的修正、改進建議,和貢獻,請造訪 sysprog21/cpumemory-zhtw
Translate and revise the book
In this PR, the following are done:
Distinguish effective and efficient in Chap 5
Greetings,
This PR provides couple tiny modification for distinguishing the translation of "effective" and "efficient". "Effective" is closer to 有效/能產生效果的 "Efficient" is closer to 高效/高效率的 Corresponding to the source text, I found a few difference in Chap5.
Thanks for your review. Julian
「部屬」應為「部署」?
URL : https://github.com/sysprog21/cpumemory-zhtw/blob/master/commodity-hardware-today.md