TGViewer
Блог* Блог* @dereference_pointer_there · 1.98K subscribers
Post #10939 1.15K
#prog #rust #rustlib #article

Surelock

Deadlocks are a solved problem in theory — we’ve known how to prevent them since 1971. The challenge is making that prevention ergonomic enough that people actually use it. Surelock is my attempt at that: lean into Rust’s type system to make the correct thing the easy thing, and make the wrong thing a compiler error.


Работает и на no_std, полагается на lock_api для абстрагирования от реализации взаимной блокировки.
  • 👍 6
More from @dereference_pointer_there
  1. Oct 6, 2026Post #11556
  2. Oct 5, 2026photo post
  3. Oct 5, 2026https://ayles.github.io/doom-in-kernel/ Коллеги (на этот раз действительно коллеги!) подог…
  4. Oct 5, 2026#cpp
  5. Oct 4, 2026#math #meme
  6. Oct 3, 2026Re: I spent $220 on Google app ads and 60% of the installs were robots My favorite story:…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →