News for hackers. Stuff that matters.
Re:Tokio 1.0 – async runtime for Rust by sanxiyn on Wednesday December 23, 2020 @06:12PM (#25523368)
Programmers cannot get threading right, but Rust can.
Re:Tokio 1.0 – async runtime for Rust by johnnycerberus on Wednesday December 23, 2020 @07:06PM (#25523767)
Rust won't magically make your threaded code blocks right. It can just provide you tools to ensure that memory won't leak. It's just 1/10 of the solution.
Re:Tokio 1.0 – async runtime for Rust by steveklabnik on Wednesday December 23, 2020 @07:14PM (#25523830)
Rust does not ensure that your code is free of memory leaks, to be clear.
Re:Tokio 1.0 – async runtime for Rust by sanxiyn on Wednesday December 23, 2020 @07:13PM (#25523825)
Rust solves threading-specific problems. Yes it's partial, but other problems happen in both threaded code and async code, so that's not a reason to choose one over another.