News for hackers. Stuff that matters.
Re:Beating Decades of Optimized C with 80 Lines of Haskell by ummonk on Wednesday October 16, 2019 @04:29AM (#21268245)
In fairness, throwing multiple cores at it would require a lot more boilerplate in C.

Whereas for single-core the C code would be simpler than the optimized single-core Haskell code presented here.

Re:Beating Decades of Optimized C with 80 Lines of Haskell by vkazanov on Wednesday October 16, 2019 @04:46AM (#21268326)
Structured concurrency with OpenMP can be very convenient at times... :-)
Re:Beating Decades of Optimized C with 80 Lines of Haskell by gpderetta on Wednesday October 16, 2019 @04:43AM (#21268310)
#pragma omp for

Goes a long way.

Re:Beating Decades of Optimized C with 80 Lines of Haskell by ummonk on Wednesday October 16, 2019 @11:53AM (#21271756)
Hah, I take it back then...