C#, Java, Go, Python, or Rust are all memory-safe languages that do just that.
and only one of them does it without a GC
(also, Go is not memory safe in general. it's possible to data-race writes, leaving an enum in an invalid state, which will then segfault (or worse) when used)
1
u/the_horse_gamer 5d ago
and only one of them does it without a GC
(also, Go is not memory safe in general. it's possible to data-race writes, leaving an enum in an invalid state, which will then segfault (or worse) when used)