Asahi Lina (朝日リナ) on Nostr: I've seen this one come up a few times in PL threads too... despite what some ...
I've seen this one come up a few times in PL threads too... despite what some believe, Go is not a memory safe language!
Specifically, Go is not memory safe if your program uses goroutines. Go does not protect against data races, which trigger UB and memory unsafety.
See: https://go.dev/doc/faq#atomic_maps
Also: https://blog.stalkr.net/2015/04/golang-data-races-to-break-memory-safety.html
Specifically, Go is not memory safe if your program uses goroutines. Go does not protect against data races, which trigger UB and memory unsafety.
See: https://go.dev/doc/faq#atomic_maps
Also: https://blog.stalkr.net/2015/04/golang-data-races-to-break-memory-safety.html