5 ms·
> The Haskell looks much better, and I don't even know Haskell Plain crazy take. The c example uses basic coding to implement some clever maths with special fa
by bedman12345 1y ago
> The Haskell looks much better, and I don't even know Haskell
Plain crazy take. The c example uses basic coding to implement some clever maths with special fast instructions. Thehaskell example is just some dumb algo implemented with complicated programming. There is obviously nothing good about that.
You can also look at a c example without simd
https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/spectralnorm-gcc-3.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
It’s shorter and simpler and faster than the Haskell version. It’s not even close???