Blogs / Personal blogs

Raph Levien

raphlinus.github.io

Blog of Raph Levien.

Popular posts
27
Total points
6,450
HN comments
2,591
Rank
#145 personal

Visit raphlinus.github.io → RSS feedOn Hacker News Oct 2018 – Mar 2025

Software Engineering 18Games & Graphics 10Math & Algorithms 9Web & Frontend 6Systems & Performance 4Design & UX 3

1

The compositor is evil

First, I want to make it clear that I’m not accusing the compositor of true evil, which I define roughly as deliberately causing suffering. There’s unfortunately too much of that in the world. I mean it in the more metaphorical sense that it causes serious problems and forces other parts of the system to be more…

2

I want a good parallel computer

The GPU in your computer is about 10 to 100 times more powerful than the CPU, depending on workload. For real-time graphics rendering and machine learning, you are enjoying that power, and doing those workloads on a CPU is not viable. Why aren’t we exploiting that power for other workloads? What prevents a GPU from…

3

Towards fearless SIMD

SIMD is a powerful performance technique, and is especially valuable in signal and image processing applications. I will be using it very extensively in my synthesizer, and also it’s increasingly used in xi-editor to optimize string comparisons and similar primitives.

4

Prefix sum on portable compute shaders

This is a followup to my previous post, prefix sum on Vulkan. Last year, I got a fancy algorithm for this problem running well on one device. This time, I will dive into the question of how to make it work well across a wide range of devices. The short answer is, it can be made to work pretty portably on Vulkan and…