Elektrine lite

← Feed

@bal4e@tech.lgbt

Post #1879809

2026-02-27 06:27 UTC

@nicolas17 I'm a huge fan of writing concurrent data structures, especially with my own atomic variables and low-level controls. I can't imagine doing that outside Rust -- the type system provides so many helpful guides (e.g. you can build wrapper types around atomic variables with higher-level functionality, pick whether your types are Send/Sync and rely on it for soundness, and mark dangerous functions as unsafe).

Replies (1)

  • @bal4e I was wondering what I would need to do with Send/Sync and apparently the answer is "nothing" because my struct only has Sync types so it all just works automatically.

    Open ##1879811