[Haskell-cafe] Annoyed at System.Random

Ryan Newton rrnewton at gmail.com
Fri May 4 15:33:41 CEST 2012

> 1. cprng-aes is painfully slow.
> when using the haskell AES implementation yes. with AESNI it fly, and even
> more when
> i'll have time to chunk the generation to bigger blocks (says 128 AES
> block at a time)

One data-point -- in "intel-aes" I needed to do bigger blocks to get decent

>  2. It doesn't use NI instructions (or any C implementation, currently).
> The NI instructions support are coming. and there's ton of already
> existing C implementation
> that could just be added.

Oh, neat.  Could you share a pointer to some C code (with GCC aes
intrinsics?) that can replace what the ASM does in the "intel-aes" package?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120504/0f1d0ba0/attachment.htm>

More information about the Haskell-Cafe mailing list