《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)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值