News for hackers. Stuff that matters.
Re:The Insecurity Industry by lu4p on Monday July 26, 2021 @08:13PM (#27967128)
True, but still memory safe, also Go has a race detector included which is really easy to use https://blog.golang.org/race-detector
Re:The Insecurity Industry by roca on Tuesday July 27, 2021 @01:42AM (#27969015)
No, Go is not memory safe for concurrent code.

Race detection is good but can't eliminate races altogether.

Re:The Insecurity Industry by pjmlp on Tuesday July 27, 2021 @04:40AM (#27970090)
Same applies to Rust as well actually.

Its type system only prevents data races for in-memory data structures, on the same OS process.

There are plenty of other concurrency races.

Re:The Insecurity Industry by roca on Tuesday July 27, 2021 @08:41AM (#27971705)
It's true that there are "higher level" races that Rust can't prevent. But in-memory races are particularly important to prevent, because a) they're a common and very nasty kind of bug and b) it means unlike Go, Rust (the safe subset) is memory safe (and in general, free of undefined behaviour) for concurrent code.