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.<p>Two other points that came up while I was reading:<p>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.<p>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.<p>If you don’t have time to write, I don’t have time to read it.
Surely you can express this in C++ just as you could in rust…
I don’t think this needed to be parallelized.