97 karma · joined Jul 10, 2023 (3y ago) · 49 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
Of course, the average Joe wouldn't do that, but I guess most people on HN are quite tech savvy.
comment 3y ago · link · parent
I don't use Rust very much, so someone correct me if I'm wrong, but the ownership and borrowing system makes the compiler fail if you transfer data to child threads and then use it in the main one. It's just safer to parallelize code, and you'll do it! (unlike in C, where it may be better not to risk it)