Saved by the compiler: Parallelizing a loop with Rust and rayon
blog.faraday.io
blog.faraday.io
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 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.
I welcome pedantic critiques because, well..I too am pedantic.
:D
Then remove it altogether and only talk in generalities? The rest of the paragraph doesn't namedrop specific brands.
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
(“But hang on, it wasn’t supposed to crash!” I hear you saying. These are controlled, deliberate terminations due to detected logic errors, rather than crashes owing to memory unsafety issues like null pointer dereferencing.)
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.