Hacker News new | ask | show | jobs
by davb 3421 days ago
Yes, I had a similar thought.

The top two comment chains right now are (to paraphrase) "See, modern C++ isn't free of memory issues" and "Maybe we should rewrite it in Rust and compare".

1 comments

> "Maybe we should rewrite it in Rust and compare"

That already happened, almost three years ago.

It's an interesting comparison point. The OP contains memory corruption bugs in C++'s standard regex library. If Rust claims to prevent these kinds of bugs, does it actually hold up to scrutiny? One way of testing that is throwing a fuzzer against a regex library written in Rust.

Boost is not the "C++ standard regex library", it's one of the best known C++ libraries.