Conversation

rust considering mutable static variables unsafe seems so arbitrary to me, who even cares

1
1
1

i know its there because people often misuse globals, but its not like rust is made for those people anyways

1
0
1

@lunahd that is not even the problem, the problem is that it doesn’t thread-safely handle concurrent access

1
0
0

@lunahd like having mutable singletons is a valid rust paradigm, you just have to wrap it in a mutex/rwlock

0
0
0