(no title)
dxxvi
|
2 months 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)?
adastra22|2 months ago
Global state is allowed. It just has to be thread safe.
therein|2 months ago
spacechild1|2 months ago
dxxvi|2 months ago