upcarta
  • Sign In
  • Sign Up
  • Explore
  • Search

Why Rust mutexes look like they do

  • Blog
  • Mar 31, 2022
  • #ComputerProgramming
Cliff L. Biffle
@CliffLBiffle
(Author)
cliffle.com
See on cliffle.com
1 Recommender
1 Mention
One of the common complaints I hear from systems programmers who try Rust is about mutexes, and specifically about the Rust Mutex API. The complaints usually go something like this:... Show More

One of the common complaints I hear from systems programmers who try Rust is about mutexes, and specifically about the Rust Mutex API. The complaints usually go something like this:

They don’t want the mutex to contain data, just a lock.
They don’t want to have to manage a “guard” value that unlocks the mutex on drop – often, more specifically, they just want to call an unlock operation because they feel like that’s more explicit.

Show Less
Recommend
Post
Save
Complete
Collect
Mentions
See All
Georgios Konstantopoulos @gakonst · Nov 25, 2022
  • Post
  • From Twitter
Another great post, this blog is golden
  • upcarta ©2025
  • Home
  • About
  • Terms
  • Privacy
  • Cookies
  • @upcarta