conectado
tapingmemory.bsky.social
conectado
@tapingmemory.bsky.social
Unbothered. Moisturized. Happy. In My Lane. Focused. Flourishing. Working with Rust 🦀

My blog: https://taping-memory.dev
I don't see any reason to have a non-poisoning mutex other than a footgun.

I'd be in favor of an interface that panics by default when locking a poisoned mutex, as it is what most people would want anyways.
November 28, 2025 at 5:10 PM
I didn't know this. It's pretty bad. Non poisoning mutexes means you can easily access inconsostent state.

The main reason I give for picking std mutex over parking_lot is because of poisoning.
November 28, 2025 at 1:20 AM
No measuring with a scale
September 30, 2025 at 1:38 PM
I think that while performance at a single-node level is normally not that critical in web development, memory-safety, type-safety and correctness is really important!

The alternative in that domain that seems great is @gleam.run, although I haven't tested it yet, I'm quite excited about it.
September 18, 2025 at 2:07 PM
Ah good old stack overflow
August 27, 2025 at 11:18 PM
Enough fairy tales have taught that forests are, indeed, not memory safe.
August 27, 2025 at 5:16 PM
Makes sense, I'm just not familiar at all with safety-critical software development but I'm really curious about it.
August 26, 2025 at 6:17 PM
Isn't there a part where you prove that what you are gonna do is correct?
August 26, 2025 at 5:59 PM
So I think we actually do handle the case of operations failing, and the process invoking the operation not knowing about it by making the operations sequential.
August 25, 2025 at 9:53 PM
Yeah, that's what I mean, we force consistency by sequentially ordering operations on the same piece of state just like DB transactions. But there's nothing but speed of the I/O that distinguish this from access to state in a distributed system.
August 25, 2025 at 9:49 PM
You know if it failed or succeeded because you compromise on availability, right? Local operations are normally sequential
August 25, 2025 at 9:13 PM
But if you view local hardware as distributed you could in theory take parition tolerance in that setting. It's just that we normally work at a rate of failure where it doesn't matter.
August 25, 2025 at 9:11 PM