Go is memory safe by modern standard.
If I show you a UB in Rust without the use of unsafe does it means Rust is unsafe?
If I show you a UB in Rust without the use of unsafe does it means Rust is unsafe?
I should’ve said in my original comment, but I don’t mean to dunk on Go. In practice the issues illustrated in the blog post I linked seem unlikely to cause problems in practice, they are interesting nevertheless.
If I follow correctly, assuming that there are no bugs in the compilers/interpreters, Go is less memory-safe than Java, C#, Python (with GIL), JavaScript or Rust. The only languages that are less memory safe would be C, C++ or Zig.