每个程序员都应该了解内存什么? [英] What Every Programmer Should Know About Memory?

查看:71
本文介绍了每个程序员都应该了解内存什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道2007年以来Ulrich Drepper的每个程序员应该了解的内存仍然有效.另外,我找不到比1.0或勘误表更高的版本.

I am wondering how much of Ulrich Drepper's What Every Programmer Should Know About Memory from 2007 is still valid. Also I could not find a newer version than 1.0 or an errata.

推荐答案

据我所记得,Drepper的内容描述了有关内存的基本概念:CPU缓存如何工作,物理和虚拟内存是什么以及Linux内核如何处理该动物园.在某些示例中可能有过时的API引用,但这并不重要.不会影响基本概念的相关性.

As far as I remember Drepper's content describes fundamental concepts about memory: how CPU cache works, what are physical and virtual memory and how Linux kernel deals that zoo. Probably there are outdated API references in some examples, but it doesn't matter; that won't affect the relevance of the fundamental concepts.

因此,任何描述基本知识的书或文章都不能称为过时的. 每个程序员都应该知道的关于内存的知识"绝对值得一读,但是,我认为这并不适合每个程序员".它更适合系统/嵌入式/内核人员.

So, any book or article that describes something fundamental cannot be called outdated. "What every programmer should know about memory" is definitely worth to read, but, well, I don't think it's for "every programmer". It's more suitable for system/embedded/kernel guys.

这篇关于每个程序员都应该了解内存什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆