MLabs Publications
The many minds at MLabs present news, case studies, editorials, tutorials, whitepapers, Cardano Catalyst proposals, and more.
Our Performance is massiv: Getting the Most Out of Your Hardware in Haskell
In this post, we explore how to write high-performance Haskell code using multi-dimensional arrays—comparing vector and massiv across clarity, parallelism, and raw speed. You'll learn how array layout, indexing strategies, and stencil-based computation can unlock massive performance gains by leveraging modern hardware more effectively.