ajeon66.bsky.social
@ajeon66.bsky.social
Thinking about computers & people. Post every Sunday!

https://www.hajeon.xyz/
Writing a memory allocator - v2. Just a simple optimization on top of the existing memory allocator + a short exploration of ptmalloc2.

publish.obsidian.md/alikiki/Writ...
Writing a memory allocator - v2 - notes by alikiki - Obsidian Publish
Part 0: Writing a memory allocator - v0 Part 1: Writing a memory allocator - v1 An optimization of free() using boundary tags Last week, I was concerned about the performance of the coalescing algori…
publish.obsidian.md
May 4, 2025 at 6:42 PM
Writing a memory allocator - v1. A continuation of our exploration from v0 without the assumption of fixed-size blocks.

publish.obsidian.md/alikiki/Writ...
Writing a memory allocator - v1 - notes by alikiki - Obsidian Publish
Part zero: Writing a memory allocator - v0 In v0, we made the simplifying assumption that all the data we work with are fixed-size blocks. Now, we're going to relax the assumption: data can now be re…
publish.obsidian.md
April 28, 2025 at 12:19 AM
Writing a memory allocator - v0.

v0 makes a simplifying assumption that all memory demanded is fixed-size. I'll relax this assumption in v1 of the allocator.

publish.obsidian.md/alikiki/Writ...
Writing a memory allocator - v0 - notes by alikiki - Obsidian Publish
For the next couple weeks, we're going to write a memory allocator. I'm dumb, so I need to start from dead-simple problem constraints and work my way up to increasingly complex constraints. As such, …
publish.obsidian.md
April 20, 2025 at 3:53 PM
Shut up and run for 100 days

1/100
April 20, 2025 at 1:29 AM
This week's post: continuing last week's discussion on cache misses.

Discussion, comments, and feedback welcome!

publish.obsidian.md/alikiki/How+...
How expensive are cache misses? - II - notes by alikiki - Obsidian Publish
Part I: How expensive are cache misses? - I Last week, I asked How expensive are cache misses? - I - and ran into a small problem with the granularity of my measurement tool. Apparently, on my 2025 M…
publish.obsidian.md
April 13, 2025 at 7:23 PM
This week's post: how expensive are cache misses?

Actively looking for discussion, comments, and feedback!
publish.obsidian.md/alikiki/How+...
How expensive are cache misses? - notes by alikiki - Obsidian Publish
"Cache miss" is a buzzword that I've heard tossed around in low latency applications - but I'm wondering how expensive cache misses actually are. I've seen numbers like this online: L1 cache referenc…
publish.obsidian.md
April 7, 2025 at 2:29 AM
DISTRIBUTED SYSTEMS
November 18, 2024 at 12:47 AM