Memory Locality => if you use this data, you likely use this data again (temporal) and use the data nearby this data (spatial) #一句话解释术语
https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Coding+Standard SEI CERT C Coding Standard #clang #system
https://www.joelonsoftware.com/2009/09/23/the-duct-tape-programmer/ The Duct Tape Programmer
#people #blog
#people #blog
Joel on Software
The Duct Tape Programmer
Jamie Zawinski is what I would call a duct-tape programmer. And I say that with a great deal of respect. He is the kind of programmer who is hard at work building the future, and making useful thin…
“1955年的陆焉识在卡车上站到了老者旁边,站得玉树临风,上海迎面而来,碰到他的脸分开,又在他的两侧退去。街道两边的梧桐树叶还小,绿色非常年轻,在车速加快后成了两道绿流,把许许多多的人脸以及商店、楼房也流动了进去。”
“一些人的生命力是要通过进攻和回击来引爆的,越打生命力越旺盛。应该说大多数人的生命力是这样爆发的。也许人们特别享受这种生命力的大爆发,因此必须不断地发现敌人或树立敌人去进攻和回击。”
听 ux coffee 里一个 CMU 毕业的设计师说, CMU design 专业第一课让她最印象最深,老师对他们说人分四种:
- conscious competent
- unconscious competent
- conscious incompetent
- unconscious incompetent
conscious competent 的是专业人士,unconscious competent 的是天才大师们,你们都不是,现在入学的大家觉得自己好像很厉害的,都是 unconscious incompetent,要努力让自己去到 conscious incompetent 的状态。
- 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. #assemblyForwarded from Hacker News
Examining ARM vs. x86 Memory Models with Rust (Score: 101+ in 5 hours)
Link: https://readhacker.news/s/4qJkP
Comments: https://readhacker.news/c/4qJkP
Link: https://readhacker.news/s/4qJkP
Comments: https://readhacker.news/c/4qJkP
Nick Wilcox's Coding Blog
Examining ARM vs X86 Memory Models with Rust
With Apple’s recent announcement that they are moving away from Intel X86 CPU’s to their own ARM CPU’s for future laptops and desktops I thought it would be a good time to take a look at the some differences that can affect systems programmers working in…
https://talkgo.org/t/topic/83 深入浅出 Golang Runtime
Go 夜读
第 64 期 2019-10-24 深入浅出 Golang Runtime
观看视频 深入浅出Golang Runtime 文字版本 分享者 郝以奋@腾讯NOW直播 Go 夜读第 64 期深入浅出 Golang Runtime 内容简介 本次分享将会对 go runtime 的调度,内存分配,gc 做一些细节上的讲解,同时也需要参与者对 runtime 有一些初步了解。 内容大纲 Golang Runtime 是什么,其发展历程; 调度的实质和关键数据结构,函数; 内存分配中 mspan, mheap, mcentral, mcache 等数据结构…
“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语录