Transformers From Scratch in Chapel and C++
A pair of articles about writing Transformers in Chapel and C++, comparing to each other and PyTorch.
-
Transformers From Scratch in Chapel and C++, Part 1
Posted on November 20, 2025
An implementation of a transformer using Chapel, comparing to C++ and PyTorch
-
Transformers From Scratch in Chapel and C++, Part 2
Posted on December 12, 2025
Comparison of transformers in Chapel, C++, and PyTorch focusing on multi-threaded CPUs