Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,733 posts.

Software Engineering
2023
199

Regex engine internals as a library

Over the last several years, I’ve rewritten Rust’s regex crate to enable better internal composition, and to make it easier to add optimizations while maintaining correctness. In the course of this rewrite I created a new crate, regex-automata , which exposes much of the regex crate internals as their own APIs for…