Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #22384

P

Programming and mathematics

Personal blog · cachemiss.xyz/blogprogrammingmath

Programming and mathematics is a personal blog at cachemiss.xyz about programming and math. Since 2020, 3 different Hacker News readers have linked it 3 times, most often “Parallel Reduce and Scan on the GPU”. It is still writing: the last post was on 2026-03-31, and you can follow it by feed.

Visit the blog
3mentions?
3HN people?
2020–2025first – last linked?
Links on Hacker News per year · peak 2 in 2020

Too few sampled comments (2) to say how often HN recommends it.?

Why HN links it

Posts on GPU compute, covering Vulkan prefix sum and parallel reduce and scan implementations. Commenters link them as background on prefix sums and compare their approaches; no comment evaluates the writing.

Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. Parallel Reduce and Scan on the GPU
    3 people · 3 mentions · first linked 2020-04-17

What Hacker News says?

  1. That sounds like a great project, one I heartily recommend to people wanting to get their feet wet. First, the basic principles of how to write an efficient prefix sum are the same as before. Definitely read [1]. Also see [2] for an exploration into how much subgroups help over threadgroup shared memory. In fact, [2] has much of the answer you seek, as it's already written in Vulkan and GLSL (compiling to SPIR-V), t…

    Comment linking /blog/parallel-reduce-and-scan-on-the-GPU

    on “A Taste of GPU Compute [video]”
  2. Submitted Parallel Reduce and Scan on the GPU as a story · 16 points

    HN discussion
  3. I previously read this: https://cachemiss.xyz/blog/parallel-reduce-and-scan-on-the-G... whose implementation seems a lot simpler than what is presented here. What is the main difference here? I've only dabbled a bit in Vulkan. (I wrote a pathtracer that I wanted to speed up using compaction; for which I needed a prefix sum)

    Comment linking /blog/parallel-reduce-and-scan-on-the-GPU

    on “Prefix Sum on Vulkan”

Search all of HN for cachemiss.xyz