Vanessa McHale
  • Strict Data Structures Do Not Improve Performance

    by Vanessa McHale | Haskell

    I have seen "strict data structures, lazy functions" bandied about among Haskellers. This is bad advice. Preferable is "know what you are doing."

  • Type-safe Pointers in ATS

    by Vanessa McHale | ATS

    Compared with Rust, ATS provides better type safety at the boundaries; foreign functions and data structures can be used in a first-class way without sacrificing type safety.

  • Using Templates in ATS

    by Vanessa McHale | ATS

    ATS is known for its sophisticated type system, but it also has a template system that has been the focus of recent work. Rather than going into technical details or comparing templates to other forms of generic programming, I wanted to give an example.

  • For Loops and GCC vs. Hand-optimized Rust

    by Vanessa McHale | ATS

    Suppose we want to count the number of lines in a file. Rust has a crate that would seem to help us, namely, bytecount.

  • Performant Perceptual Hashing Using HIP and Repa

    by Vanessa McHale | Programming

    The canonical way to get a perceptual hash is using the pHash library. In fact, we can get nearly the same performance in Haskell using hip and repa.

    |