gemini-2.5-flash-preview-09-2025| input-price: 0.3 output-price: 2.5 max-context-length: 128_000 (cost: $0.01) · Anfrage: 2026-01-23T07:29:21.640415

Generated by rs-summarizer Version unbekannt

Expert Persona: Senior Compiler Engineer / High-Performance Computing (HPC) Architect

Abstract

This presentation introduces Petalisp, a purely functional array programming language implemented as a library within Common Lisp. The design is predicated on extreme minimalism, utilizing only three core operators—lazy (map), lazy-reshape, and lazy-fuse—while strictly prohibiting control flow and side effects to facilitate automated parallelization.

The core technical achievement lies in the sophisticated compilation pipeline, initiated upon the compute call. This pipeline includes graph assembly, portable type inference via the Typo library (enabling unboxed operations), conversion to a kernel-and-buffer Intermediate Representation (IR), and optimized partitioning algorithms that enforce data locality and generate explicit message passing for multi-core execution without relying on shared memory. Benchmark testing of a Jacobi iteration stencil code demonstrated competitive performance, achieving approximately 16 GigaFLOPS, which significantly exceeds standard Common Lisp implementations and approaches the performance of statically optimized OpenMP C++ code on the test hardware. Future development targets include hierarchical scheduling for distributed computing and open GPU backends (avoiding proprietary APIs like CUDA).

Petalisp: Architecture, Compilation Pipeline, and Performance Analysis

Summary Rating: No ratings yet
Article Rating: No ratings yet

Source