Hacker News new | ask | show | jobs
A data race that doesn't compile (corentin-core.github.io)
14 points by stmw 1 hour ago
3 comments

I know this is a small point, but you likely mean "race condition" here. Rust already guarantees safe code to be free of "data races", and this blog post doesn't discuss unsafe in any way.

Two other points that came up while I was reading:

1. I get that this is something you did once for an internal project, but this is what macros and derive_macros are made for.

2. The AI that you used to help write the post left its mark a little too deep. The cliched phrases make an appearance at the start of every section and it really starts to grate by the end.

AI written article. I hate how I can quickly pick this up these days and I hate how I see it everywhere recently.

If you don’t have time to write, I don’t have time to read it.

I stopped reading at "Here’s the observation that started everything:".
I don’t think this needed to be parallelized.