Login
You're viewing the code4lib.social public feed.
  • Nov 27, 2026, 1:19 AM

    A few things that would make this chart easier to swallow:
    1. Embed "no invariants maintained by critical sections" into the type system, to enforce which types are safe for nonpoisoning Mutexes.
    2. Prove "no panics in the critical section", making those paths safe for nonpoisoning Mutexes.
    3. Make recovery easier and more idiomatic, maybe by requiring a rollback or recovery function, or treating every critical section as a transaction, or restarting entire subsystems on panic.

    💬 0🔄 0⭐ 1