News for hackers. Stuff that matters.
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.