Mehdi Akiki

Writing archive

Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.

  • Published on
    Use two independent PostgreSQL pools and Axum routers to check session revocation. Distinguish later requests from work authorized before logout.
  • Published on
    A fence orders surrounding operations only through an atomic carrier and a reads-from relation. Trace release-fence/acquire-fence synchronization and the final-reference-count pattern.
  • Published on
    A 16-line program without unsafe reads a String after it is dropped. Every Rust on my laptop accepts it, and variants compile back to Rust 1.4 from 2015. I looked at the dead memory with gdb and AddressSanitizer, and found the check that the borrow checker skips.