News for hackers. Stuff that matters.
Re:Why I Prefer Functional Programming by platinumrad on Saturday October 31, 2020 @05:39PM (#24955409)
What? No. Rust has some influence from Haskell in terms of traits and such, but Rust's parallelization capabilities comes from its tracking of mutability. (No, Haskell did not invent caring about mutability.)

Also, succinct expression of parallel algorithms isn't a particularly unique feature. Like half of the named algorithms in the C++ standard library can be parallelized by adding a single parameter.

Re:Why I Prefer Functional Programming by jolux on Saturday October 31, 2020 @06:36PM (#24955762)
That’s because the parallelization in the STL is encapsulated. In Haskell and Rust it’s explicit, it’s not just about adding a parameter to an existing function, it’s a general mechanism.
Re:Why I Prefer Functional Programming by platinumrad on Saturday October 31, 2020 @06:40PM (#24955777)
Rayon literally works on iterators just like the C++ algorithm library.
Re:Why I Prefer Functional Programming by jolux on Saturday October 31, 2020 @07:05PM (#24955951)
Well in that case neither of them is really comparable to what Haskell can do here. But Rust’s capabilities go far beyond Rayon as I’m sure you know.