|
|
|
|
|
by dxxvi
189 days ago
|
|
> It's exceedingly rare to see any sort of global mutable state
I know a bit of Rust, so you don't need to explain in details. How to use a local cache or db connection pool in Rust (both of them, IMO, are the right use case of global mutable state)? |
|
Global state is allowed. It just has to be thread safe.