A few days ago, @kostya27 posted on r/golang (124 upvotes):


"Why is Go's regex so slow?" Go total time on LangArena: 116.6 seconds. Without two regex tests: 78.5 seconds. Without regex, Go is competitive with Rust/C++. With regex, it's not even close.


He's right. And this post is about what we did about it.

Six months ago, I wrote about...