Comment on Destroying C with 20 lines of Haskell: wcComments−TickleSteve6yHe is comparing a multi-threaded haskell version against a single-threaded C version???"...There’s also a parallel version that relies on the monoidal structure of the problem a lot, and that one actually beats C"coreutils wc is single-threaded, just checked.−divisonby06y But that post left me wondering: is it possible to do better without resorting to parallel processing? Turns out the answer is yes. From the introduction−akdor11546yYes, your skimming was inaccurate.
Comments
He is comparing a multi-threaded haskell version against a single-threaded C version???
"...There’s also a parallel version that relies on the monoidal structure of the problem a lot, and that one actually beats C"
coreutils wc is single-threaded, just checked.
Yes, your skimming was inaccurate.