February 2018
Miguel's Base64 Encoder
=======================
Initially coded on a cold winter afternoon to fully understand **base64 encoding** and play with
**Haskell**, which is always an indisputable pleasure. Hacked together in _big anger_, due to my
friend Nick's fairy tales about saving his encrypted binary data in plain _ASCII_
configuration files,... featuring strange letters and non-printable characters. :smile:
After optimizing quite a bit, the encoder performs around **460MB/s** on a single core of my _i7-4790K_.
The source code below was auto-fetched from:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.haskell .numberLines}
{BEGIN:EMBED}
https://gitweb.softwarefools.com/?p=miguel/haskell.git;a=blob_plain;f=base64/base64.hs
{END:EMBED}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~