I rewrote PostHog's SQL parser, 70x faster, while barely looking at the code

A Hacker News thread about a PostHog blog post on an AI-written, faster SQL parser.

Author
Posted by robbie-c, with replies from many commenters
Published
24 June 2026
Kind
Hacker News discussion thread of about 70 comments
Original
news.ycombinator.com/item?id=48663544
Subject
Compilers and interpreters
Themes
Close to the machine, Handing over control

What it is

robbie-c posted the PostHog blog post and replied to many comments. The thread earned 155 points. Some comments are about the website design, which is not covered here. The article itself was not fetched for this record.

What it says

What evidence it gives

The thread offers the poster's own production figures and answers. The 70x is described as a geometric mean. Other comments are opinions and personal anecdotes. No one in the thread reruns the benchmarks.

Interests and limits

Robbie-c speaks for the team that wrote the parser, and its figures are unchecked. Claims about the linked post are secondhand, because that post was not read. Commenter views on AI are opinions. The thread gives no code.

Connections

These links are this wiki's own reading, not claims the sources make.