Faster than the West: agentic engineering of a portable fast Fourier transform

Coding agents increasingly write scientific software. We asked whether one, guided by a domain expert, can match the best hand-engineered libraries, and what the expert contributes. The fast Fourier transform is a severe test: its reference, FFTW, embodies decades of expert work. Here an agent built such a library in 60 active hours within 7 days up to its public release. One Julia package runs on ARM and x86 processors, Apple and NVIDIA graphics processors and as a C library. Measured 9 days later, it was faster than the fastest other library in 76-85% of cases on the processors and in 73% on the Apple graphics processor, and on a par with VkFFT on the NVIDIA graphics processor. The record shows the agent taking up gaps measured against competitors while the expert mostly checked its work; a few decisions on what to measure against acted as the specification.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Faster than the West: agentic engineering of a portable fast Fourier transform

Tobias A. Knopp
arXiv
Parallel Computing and Optimization Techniques
preprint

Faster than the West: agentic engineering of a portable fast Fourier transform

Tobias A. Knopp
preprint en

Abstract

Coding agents increasingly write scientific software. We asked whether one, guided by a domain expert, can match the best hand-engineered libraries, and what the expert contributes. The fast Fourier transform is a severe test: its reference, FFTW, embodies decades of expert work. Here an agent built such a library in 60 active hours within 7 days up to its public release. One Julia package runs on ARM and x86 processors, Apple and NVIDIA graphics processors and as a C library. Measured 9 days later, it was faster than the fastest other library in 76-85% of cases on the processors and in 73% on the Apple graphics processor, and on a par with VkFFT on the NVIDIA graphics processor. The record shows the agent taking up gaps measured against competitors while the expert mostly checked its work; a few decisions on what to measure against acted as the specification.

arXiv
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon