Hacker News new | ask | show | jobs
by cbarrick 1463 days ago
Earlier this month we integrated a C++ library written by my team with a server written by another team.

We saw the data corruption, and we knew it was a reference issue, but it took quite a bit of effort to track down. The cause was confusion around string_view and string&, with different behavior when you pass each to a new thread.

Rust would have caught this much earlier and saved 3 days work.