A data race that doesn't compile

(corentin-core.github.io)

20 points | by stmw 2 hours ago

3 comments

  • cptroot 1 hour ago
    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.

    • infinitebit 1 hour ago
      “The second condition falls out of the first”. Hi claude!
  • asdf88990 2 hours ago
    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.

    • TonyAlicea10 1 hour ago
      I stopped reading at "Here’s the observation that started everything:".
  • nynx 2 hours ago
    I don’t think this needed to be parallelized.