Published May 8, 2024 | Version v1
Publication Open

An Introduction to Array Programming in Petalisp

  • 1. ROR icon Max Planck Institute for the Science of Light

Description

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.

Files

2024-ELS-Petalisp.pdf

Files (240.8 kB)

Name Size Download all
md5:7fb8af4ea120b229ff8b7b6bf9528a49
240.8 kB Preview Download

Additional details

Identifiers

ISSN
2677-3465

Software

Repository URL
https://github.com/marcoheisig/Petalisp
Programming language
Common Lisp
Development Status
Active