Saved by the compiler: Parallelizing a loop with Rust and rayon
1–10 of 33 posts
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#2I don't have any performance numbers for this loop because it was already very fast. This was just a warm-up exercise before trying to parallelize more complicated loops.
My experience with Rust has been interesting. On the one hand, if you compare Rust to Ruby or JavaScript, there really is a "Rust tax"—you have to think about ownership and references and types. But Rust pays me back by making refactoring very easy, and by catching some surprisingly subtle errors at compile time. Plus, I really like Cargo and the crates.io ecosystem.
Rust might not be a good match for every project or every programmer, but I'm really enjoying it for low-level, high-performance code.
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#3Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#4Author here. I'm happy to answer questions! I don't have any performance numbers for this loop because it was already very fast. This was just a warm-up exercise before trying to parallelize more complicated loops. My experience with Rust has been interesting. On the one hand, if you compare Rust to Ruby or JavaScript, there really is a "Rust tax"—you have to think about ownership and references and types. But Rust p…
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#5Nice name but how does it relate to your product? I assume it refers to Michael Faraday.
I have a bit of history about him and how he compares to Tesla, along with a tour of monuments to him in London here: https://unop.uk/faraday-tour
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#6Your homepage crashed my browser. Not sure what you've got going on there. :/ Nice name but how does it relate to your product? I assume it refers to Michael Faraday. I have a bit of history about him and how he compares to Tesla, along with a tour of monuments to him in London here: https://unop.uk/faraday-tour
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#7Your homepage crashed my browser. Not sure what you've got going on there. :/ Nice name but how does it relate to your product? I assume it refers to Michael Faraday. I have a bit of history about him and how he compares to Tesla, along with a tour of monuments to him in London here: https://unop.uk/faraday-tour
Maybe you should switch to a browser written in Rust.
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#8Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#9Your homepage crashed my browser. Not sure what you've got going on there. :/ Nice name but how does it relate to your product? I assume it refers to Michael Faraday. I have a bit of history about him and how he compares to Tesla, along with a tour of monuments to him in London here: https://unop.uk/faraday-tour
Ouch. Sorry to hear that. What browser and version were you running? I'll file an issue.
I asked our CEO where the name came from, and he said that Faraday is famous for being an experimentalist, which ties into our predictive modeling. (We also have lots of customers in the residential solar industry.)
Re: Saved by the compiler: Parallelizing a loop with Rust and rayon
#10Your homepage crashed my browser. Not sure what you've got going on there. :/ Nice name but how does it relate to your product? I assume it refers to Michael Faraday. I have a bit of history about him and how he compares to Tesla, along with a tour of monuments to him in London here: https://unop.uk/faraday-tour
> Your homepage crashed my browser. Ouch. Sorry to hear that. What browser and version were you running? I'll file an issue. I asked our CEO where the name came from, and he said that Faraday is famous for being an experimentalist, which ties into our predictive modeling. (We also have lots of customers in the residential solar industry.)
I suspect it was olark, as I can't see anything else obvious. That screenshot image is pretty heavyweight too, I can see it downloading.