News for hackers. Stuff that matters.
Re:Notes on Writing WASM by expede on Sunday March 08, 2026 @09:22PM (#47303712)
Author of the article here! I've actually come to agree with you since writing that article. I'm actually not a fan of mutexes in general and miss having things like TVars from my Haskell days. Just to shout out a deadlock freedom project that I'm not involved in and haven't put in production, but would like to see more exploration in this direction: https://crates.io/crates/happylock
Re:Notes on Writing WASM by Twey on Monday March 09, 2026 @12:47AM (#47304968)
Thanks for the article! As someone who writes a lot of Rust/JS/Wasm FFI it gave me some good food for thought :)

Yes! Mutexes are much nicer in Rust than a lot of languages, but they're still much too low-level for most use-cases. Ironically Lindsey Kuper was an early contributor to the Rust project and IIRC at roughly the same time started talking about LVars [1]. But we still ended up with mutexes as the primary concurrency mechanism in Rust.

[1]: https://dl.acm.org/doi/10.1145/2502323.2502326