@schlink https://doc.rust-lang.org/book/second-edition/ch16-01-threads.html
I do believe you have to make the program parallel by yourself, though there are probably wrappers over these lower-level constructs.
right -- my issue is that I wrote my big loop as a `for` loop (like `for word in word_list { do things }`). Can I just do
word_list.par_iter( |word|
do things
)
my code: https://github.com/sts10/half-entropy-word-checker/blob/master/src/main.rs#L46
@mathuin right, yeah, for sure I knew I'd need to implement something code-wise. Just wanted to make sure Rust threads would be able to use more than one of my cores.
and re-wrapper, @carey sent me link to : https://github.com/rayon-rs/rayon
Haven't tried it yet though, but it looks really lightweight