Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: