当前位置: 首页 > article >正文

《Programming from the Ground Up》阅读笔记:p147-p180

《Programming from the Ground Up》学习第9天,p147-p180总结,总计34页。

一、技术总结

1.Physical memeory

p152, Physical memory refers to the actual RAM chips inside your computer and what they contain.

物理地址指的RAM,即我们买电脑所说的“内存”。

2.Virtual memory

p152, Virtual memory is the way your program thinks about memory。

3.Resident Set Size(常驻集大小)

p155, The amount of memory that your program crrently has in physical memory is called its resident set size, and can be vieed by using the program top. The resident set size is listed undeer the column lablelled “RSS”.

在Ubuntu(Ubuntu 22.04)系统上执行top命令时, 不是RSS列,是RES列,RES是Resident(驻留)的缩写。

4.memory manage

(1)dynamic memory manage

第9章主要讲解与“内存”相关的知识:如物理内存、虚拟内存、内存管理等。唯一可惜的一点就是本书写作时间较早,代码运行起来确实不方便,也不好修改,先往下看吧。

二、英语总结

1.intermediate vs mediate

从字面上总是容易混淆,作为形容词,两者其实是完全不同的意思。

(1)intermediate

adj. emphasize being “in-between” in terms of position, level, or time,即我们常说的“中间的”。

(2)mediate

adj. exhibiting indirect causation, connection, or relation,即我们常说的“间接的”。

2.wind up

p154, They wind up spending more time just swapping memory on and off disk than they do actually processing it.

wind up 在这里的意思是 as a result of certain condition, 强调这是一种unexpected outcome。

3.be through with

p156, When you’re done with it, you tell deallocate that you are through with it.

在这里,be through with 的意思是“having finished doing sth”。

三、其它

国庆节本是一个快乐的节日,今年的国庆节却让人很难开心起来。一位亲戚走了,从辈分上来说,我这一辈称其为“太爹”,属于我爷爷奶奶那一辈的人。这些看着我长大的长辈们一个一个离我而去,暗示着时间的一去不返,也暗示着我与家乡的羁绊也越来越少。

四、参考资料

1. 编程

(1)Jonathan Bartlett,《Programming From The Ground Up》:https://book.douban.com/subject/1787855/

2. 英语

(1)Etymology Dictionary:https://www.etymonline.com

(2) Cambridge Dictionary:https://dictionary.cambridge.org

在这里插入图片描述

欢迎搜索及关注:编程人(a_codists)


http://www.kler.cn/news/340732.html

相关文章:

  • Kubernetes(K8s)的简介
  • CMake学习笔记:find_package
  • 如何自制无人机?
  • Java 运算符(详细介绍)
  • 操作系统错题解析【软考】
  • 详细介绍numpy在python中的用法
  • 注释,换行,控制台输入输出,命名空间,省略return语句
  • 【算法】链表:24.两两交换链表中的节点
  • llama3 implemented from scratch 笔记
  • HCIA——one
  • 如何使用ssm实现果蔬商品管理系统的设计与实现+vue
  • 通过真实的大学考试题目评估Chat-GPT在Swift语言上的编程能力
  • Ubuntu关闭anaconda自动进入base虚拟环境
  • LeetCode1049:最后一块石头的重量
  • windows中使用类似tree的功能
  • Json-Rpc框架(JsonCpp库使用介绍)
  • 【数据结构与算法-高阶】并查集
  • 苹果电脑磁盘满了怎么清理内存?必看清理秘籍
  • 追加word,返回中第 k 个字符的值
  • 计算机网络——ftp