C’s Random Collection
205 subscribers
96 photos
4 videos
20 files
1.09K links
Personal tech notes, all opnions are mine. https://blog.chenxi.dev
Download Telegram
Memory Locality => if you use this data, you likely use this data again (temporal) and use the data nearby this data (spatial) #一句话解释术语
抖动 Thrashing, cache反复加载和驱逐 evict 相同的 set #一句话解释术语
“1955年的陆焉识在卡车上站到了老者旁边,站得玉树临风,上海迎面而来,碰到他的脸分开,又在他的两侧退去。街道两边的梧桐树叶还小,绿色非常年轻,在车速加快后成了两道绿流,把许许多多的人脸以及商店、楼房也流动了进去。”
“一些人的生命力是要通过进攻和回击来引爆的,越打生命力越旺盛。应该说大多数人的生命力是这样爆发的。也许人们特别享受这种生命力的大爆发,因此必须不断地发现敌人或树立敌人去进攻和回击。”
听 ux coffee 里一个 CMU 毕业的设计师说, CMU design 专业第一课让她最印象最深,老师对他们说人分四种:

- conscious competent
- unconscious competent
- conscious incompetent
- unconscious incompetent

conscious competent 的是专业人士,unconscious competent 的是天才大师们,你们都不是,现在入学的大家觉得自己好像很厉害的,都是 unconscious incompetent,要努力让自己去到 conscious incompetent 的状态。
http://pages.cs.wisc.edu/~lena/repzret.php repz ret Basically, there was an issue in the AMD's branch predictor when a single-byte ret immediately followed a conditional jump as in the code you quoted (and a few other situations), and the workaround was to add the rep prefix, which is ignored by CPU but fixes the predictor penalty. #assembly
System Knowledge is POWER! #cmulife
Fortran creator, John Backus #fortran #language
Cache Line's hit and miss, Cache Lab part A 基本上可以按照这个实现 #system #cache
Jeff Bazos 2002 年的邮件,统一接口,有人说是 AWS 的开始? #random
“He takes great care not to be a burden to anyone or to make them feel that they have any obligation to him.” 好人=refuse to put people under any obligation. 正常人=refuse to be burdened by others. #Lizzie语录