darq

joined 1 year ago
[โ€“] [email protected] -2 points 1 year ago (1 children)

@crispy_kilt correct I don't understand it and I don't want to anymore, because I've seen it's much more complicated than what I already use, but I have written that already.
You're acting like a kid that's butt hurt that someone said something bad about their favorite team.
Rust promised performance but for the cost of much more mental overhead and more complicated and indoctrinated workflow.
I do what's best for me.
Don't like it idgaf

[โ€“] [email protected] 0 points 1 year ago (1 children)

@sugar_in_your_tea map not thread safe, because multiple threads iterate over one map so you have to use sync.Mutex to lock it for reading, writing or both. I fell into that pit too. Part of the learning process. C++ has mutexes too.