4 ms·
That’s perfectly reasonable if you’re writing lots of parallel code, but frankly 95% of web server code isn’t the sort of hairy parallel code that would benefit
by throwaway894345 6y ago
That’s perfectly reasonable if you’re writing lots of parallel code, but frankly 95% of web server code isn’t the sort of hairy parallel code that would benefit from a borrow checker on balance.
- viraptor 6y agoThere are no threads in this scenario. You can easily lose ownership / crash on bad references when using golang maps in a single thread.
- throwaway894345 6y agoHow do you get "bad references" in a Go map in a single thread? Are you thinking of nil pointers? That's a separate issue.