Re:Why has CPU frequency ceased to grow? (2014)
by ethagnawl on Wednesday February 21, 2018 @10:02AM
(#16429893)
FWIW, you can also achieve similar behavior in Clojure via pmap, Reducers, etc.
[ Parent
| on HN ]
Re:Why has CPU frequency ceased to grow? (2014)
by floatboth on Wednesday February 21, 2018 @11:10AM
(#16430460)
And in Haskell https://www.stackage.org/haddock/lts-10.6/parallel-3.2.1.1/C...
And in .NET https://docs.microsoft.com/en-us/dotnet/api/system.threading...
And in Java https://blog.oio.de/2016/01/22/parallel-stream-processing-in...
Rayon is notable because Rust is a native-compiled, no-GC language.
Re:Why has CPU frequency ceased to grow? (2014)
by brazzy on Wednesday February 21, 2018 @11:57AM
(#16430855)
To me, the "If it’s not thread-safe to do, then it won’t compile" part sounds rather more notable.
Re:Why has CPU frequency ceased to grow? (2014)
by coolsunglasses on Wednesday February 21, 2018 @12:45PM
(#16431307)
That's true of Haskell for the parallelism faculties. It's also true for STM. You can still get stuck or have race conditions with the other concurrency abstractions but it's less common than I encountered elsewhere. I didn't have problems resulting from mutable shared state that was aliased across threads and wasn't supposed to be, it's always explicit.