Per Vognsen on the effect of AVX-512 on lexing and parsing
1 comments · compilers, performance
- Comments20
1 comments · compilers, performance
Story details from Lobsters ↗ · linked article on mastodon.social.
Per Vognsen on the effect of AVX-512 on lexing and parsing was first seen by Trendoday on Nov 24, 2026. Since then it has appeared in 73 checks on 3 different days. It reached #4 on Lobsters · Hottest on Nov 24, 2026 UTC. It was last seen on Lobsters · Hottest on Nov 26, 06:22 UTC.
Position on Lobsters · Hottest at every check (lower is better).
Best rank per day (UTC).
Platform metric as reported by Lobsters.
A few top-level comments from Lobsters, shortened. Read the full thread on Lobsters.
Zig doesn't really have anything to do with anything here. I just happened to link an article by someone else that describes how to do AVX-512 lexing for a language like Zig, written for people who don't know how to do SIMD lexing. The experiment I was reporting on was for one of my single-pass compilers. The code…
I thought this was a really insightful experience report highlighting how the CPU doesn't see abstractions and optimizes across what we perceive as different parts of a program.
Vectorized text processing tends to be on the more awkward end of the spectrum because of a higher fraction of horizontal and compaction operations, and you often have to come up with specific tricks for every sub-problem to make it fast. If you're working on more naturally data-parallel problems than text processing…
Archived daily, weekly and monthly lists that include this entry.
Not at the moment. Its last recorded appearance was on Nov 26, 06:22 UTC.
#4 on Nov 24, 2026 UTC.
It was first seen on Nov 24, 2026 and has been on the list on 3 days (73 checks) since.