Vanessa McHale
  • Strides Are Scans

    by Vanessa McHale | Haskell

    For an array with dimensions \(n_1,n_2,\ldots n_r\) stored in column-major order, an element with indices \(a_1,a_2,\ldots a_n\) is located at offset

  • C Is Not Suited to SIMD

    by Vanessa McHale | Vector Languages

    C (C++) is used to write performant software, however it is ill-suited to SIMD. In particular, its compilation of stepped reduction with lexical scoping opposes parallel execution.

  • QuickCheck With Shape Types

    by Vanessa McHale | Vector Languages

    One motivation for Apple was demonstrating typed array programming. Shape types are rich; we can use types as witnesses as in QuickCheck, generating test cases that are shape-correct.

  • Performance of High-level Languages

    by Vanessa McHale | Compilers

    It is quite possible to beat established (array) implementations with special cases and bittwiddling.

  • Softmax in Apple As an Example of Explicit Rank

    by Vanessa McHale | Apple

    Consider a softmax layer from Aditya Srinivas Menon's tutorial:

    |