Advent of Code 2022
This series is an introduction to the Chapel language through solutions to the first twelve days of Advent of Code 2022.
-
Advent of Code 2022: Twelve Days of Chapel
Posted on November 30, 2022
The Chapel team’s plan for blogging during Advent of Code 2022.
-
Advent of Code 2022, Day 1: Counting Calories
Posted on December 1, 2022
A simple solution to day one of AoC 2022, introducing basic Chapel concepts
-
Advent of Code 2022, Day 2: Rochambeau
Posted on December 2, 2022
A parallel solution to day two of AoC 2022, introducing enums, procedures, iterators, arrays, and promotion
-
Advent of Code 2022, Day 3: Rucksack Comparisons
Posted on December 3, 2022
A parallel solution to day three of AoC 2022, introducing ranges,
bytes
, forall-loops, and sets -
Advent of Code 2022, Day 4: Finding Overlaps in Cleanup Ranges
Posted on December 4, 2022
A couple of succinct solutions to day four of AoC 2022. Learn about formatted IO, ranges, and parallel reductions in Chapel as well as some general problem-solving approaches.
-
Advent of Code 2022, Day 5: Stacking Crates
Posted on December 5, 2022
A solution to day five of AoC 2022 featuring arrays, lists, strided ranges, zippered iteration, unbounded ranges, and references.
-
Advent of Code 2022, Day 6: Packet Detection
Posted on December 6, 2022
A parallel solution to day six of AoC 2022, introducing configs, parallel loop expressions, range translation, and named, unbounded, and counted ranges.
-
Advent of Code 2022, Day 7: Traversing Directories
Posted on December 7, 2022
A solution to day seven of AoC 2022, introducing classes and memory management.
-
Advent of Code 2022, Day 8: Hiding Treehouses
Posted on December 8, 2022
A solution to day eight of AoC 2022, introducing domains and multidimensional arrays.
-
Advent of Code 2022, Day 9: Elvish String Theory
Posted on December 9, 2022
A solution to day nine of AoC 2022, covering select-statements, arrays, and math functions
-
Advent of Code 2022, Day 10: Scan Lines
Posted on December 14, 2022
A solution to day ten of AoC 2022, introducing
scan
expressions. -
Advent of Code 2022, Day 11: Monkeying Around
Posted on December 17, 2022
A parallel solution to day eleven of AoC 2022, using Chapel’s task parallel features.
-
Advent of Code 2022, Day 12: On the Summit
Posted on December 19, 2022
A solution to day twelve of AoC 2022, covering atomic variables and recursive task parallelism
-
Advent of Code 2022: Wrap-up
Posted on December 20, 2022
A summary of our twelve days of AoC 2022 and a peek at some of Chapel’s distributed programming features