Re:Rust Atomics and Locks: Low-Level Concurrency in Practice
by ecnahc515 on Friday January 06, 2023 @04:42PM
(#34281604)
Sometimes all you need is an atomic counter though (or lock). Like, for the commonly used Prometheus metrics format, you usually just have global, atomic counters, because it's arguably the most efficient/easiest way to do it. Higher level primitives are nice, but even lower level APIs might be "the right choice" for even high-level problems.
[ Parent
| on HN ]
There are no comments on this comment yet.