Top all-time · #18472
Olivier's Blog
Personal blog · ogxd.github.io/articlesprogrammingsystems
Olivier's Blog is a personal blog at ogxd.github.io about programming and systems. Since 2024, 4 different Hacker News readers have linked it 4 times, most often “Unsafe Read Beyond of Death”. It is still writing: the last post was on 2026-08-12, and you can follow it by feed.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
Linked as a source in an HN thread on tolower() with AVX-512. The post covers reading past the end of a buffer in SIMD code and staying within a memory page to do it safely.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Unsafe Read Beyond of Death4 people · 4 mentions · first linked 2024-07-28
What Hacker News says?
You make sure you don't do that. A trick to avoid reading beyond the end of the buffer is to make sure the end of the buffer lies on the same page. Typically, the OS will allocate memory in pages of 4KB, thus we can make a function that checks whether it is okay to read beyond or if we should fallback to the copy version. -- https://ogxd.github.io/articles/unsafe-read-beyond-of-death/
Comment linking /articles/unsafe-read-beyond-of-death/
on “tolower() with AVX-512”Submitted Unsafe Read Beyond of Death as a story · 5 points
HN discussionSubmitted Unsafe read beyond of death: optimized short string SIMD load as a story · 2 points
HN discussionSubmitted Unsafe Read Beyond of Death as a story · 1 points
HN discussion