Re:A single line of code made a 24-core server slower than a...
by lilyball on Friday December 31, 2021 @08:27PM
(#29754490)
The general solution here is to use scopes instead of RAII to ensure destruction. Rust lost its thread::scoped libstd API because that was based on RAII, but there are multiple crates in the ecosystem that provide the lexical scope-based solution
[ Parent
| on HN ]
There are no comments on this comment yet.