4 ms·
Let me show you a bug in Go which involves no threads/goroutines, but would be solved by the borrow checker: https://go.dev/play/p/sEptCgMM0Bh https://go.dev/p
by TheDong 4y ago
Let me show you a bug in Go which involves no threads/goroutines, but would be solved by the borrow checker:
https://go.dev/play/p/sEptCgMM0Bh https://go.dev/play/p/sEptCgMM0Bh
In rust, you could not write that code without using either unsafe, or getting borrow checker errors.