#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
blog review 第十三期
·
Ted Mostly
·
Jan. 30, 2022, midnight
Summary
准备把blog阅读和paper阅读都归一,而不是看一篇翻译一篇,效率太低了 后面写博客按照 paper review,blog review,cppcon review之类的集合形式来写,不一篇一片写了。太水了 1,000,000,000 纳秒 = 1秒 三个逗号 内存分配器设计的演进 文章不错 bump allocator 栈上stack,不过有依赖关系,不能释放老的 大小固定?接着realloc,不过缺陷依然存在 free-list链表组织,常数分配,但是释放也要扫 size-buckets + free-list 内存块,问题,利用率高了起来,但是缓存不友好 slab allocator,尽可能的连续分配,组装上面的场景 这里补充一下mimalloc和snmalloc的设计 论文https://www.microsoft.com/en-us/research/uploads/prod/2019/06/mimalloc-tr-v1.pdf lock free/线程区分,尽可能不跨。glibc的内存分配是有大锁的,这非常坑爹 https://lobste.rs/s...
Read full post on wanghenshui.github.io →
MORE POSTS LIKE THIS
Do not let your type system reason about aliasing in your programming language
Futhark Lang ·
Sep 22, 2026
software development
programming-languages
Sandboxing with minimal effort
YorickPeterse ·
Sep 21, 2026
Containerization
Application Security
I Bought A Scanner (No, Really This Time)
Leejo ·
Sep 22, 2026
film photography
Personal Experience
That About Wraps It Up for Stock Mac UI
Inessential ·
Sep 22, 2026
developer experience
UI customization
In Search of a Compositional Theory of Self-Stabilization
Murat Demirbas ·
Sep 21, 2026
fault tolerance
metastability
Devin AI & SWE-2 First Impressions
Catalin's Tech ·
Sep 22, 2026
AI
Developer Tools
Discover more posts →
AUTHOR
Advertise
Sponsor diff.blog
Put your product in front of developers who read and write about their craft. One exclusive sponsor at a time.
Become a sponsor →
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.