Per Vognsen on the effect of AVX-512 on lexing and parsing
17 comments · compilers, performance
- Comments10
17 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 on Lobsters · Hottest on Nov 24, 2026. Since then it has appeared in 40 checks on 2 different days. Its best position was #4 of 25, reached on Nov 24, 20:52 UTC. It is #8 right now, holding steady at #8 over the last 6 checks.
Position on Lobsters · Hottest at every check (lower is better).
Best rank per day (UTC).
▲ 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.
> I would expect code gen even in debug builds to take a lot longer than lexing or parsing, ... Regardless of what a "real" compiler might look like, in this specific case that he was investigating the code gen took half as long as the lexing: > The CPU time distribution in my single-pass compiler is roughly 40%…
Archived daily, weekly and monthly lists that include this entry.
Yes. As of Nov 25, 13:52 UTC it is #8, holding steady at #8 over the last 6 checks.
#4 on Lobsters · Hottest, on Nov 24, 20:52 UTC. Trendoday checks this list every 30 minutes.
It was first seen on Nov 24, 2026 and has been on the list on 2 days (40 checks) since.