An Introduction to Array Programming in Petalisp

submited by
Style Pass
2024-05-06 22:00:08

Petalisp is a purely functional array programming language embedded into Common Lisp.  It provides simple yet powerful mechanisms for reordering, broadcasting, and combining arrays, as well as an operator for element-wise mapping of arbitrary Common Lisp functions over any number of arrays.

This introduction covers the process of writing high-performance array programs in Petalisp and showcases its main concepts and interfaces.  It continues with a simple example of an iterative method and some benchmarks, and concludes with a tour of the Petalisp implementation and a discussion how it achieves high performance and a low memory footprint.

Leave a Comment