News for hackers. Stuff that matters.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by TheDong on Friday June 03, 2022 @03:12AM (#31605166)
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

In rust, you could not write that code without using either unsafe, or getting borrow checker errors.

There are no comments on this comment yet.