
Advent of Ada/SPARK 2026
The Advent of Code is a global event where people can test and/or showcase their programming skills by solving puzzles of varying complexity. AdaCore has been incentivizing people to use Ada and/or SPARK to solve the puzzles, and we will do the same in 2026.
We will use the same formula as previous years: we will put money in a charity fund and donate that amount to the charity after the event. AdaCore will donate up to $5000 with the following composition:
- $10 per Ada solution
- $20 per SPARK solution (proven at least to SPARK Silver).
- $100 for people who solve all 12 puzzles.
Advent of Code is a competition for humans, and the author suggests not using AI to solve the riddles, which makes sense. However, once you have solved the riddle using Ada, you should use AI to lift it to SPARK Silver or higher; AI is great at adding formal contracts to existing code, and there will be an additional contribution to boot!
See the forum post on how to submit your solutions to contribute to the charity:
https://forum.ada-lang.io/t/charity-advent-of-ada-spark-2026-submissions/5018/2
We are also taking suggestions for charities to donate the money to. You can make your suggestion in the same thread.
We accept contributions until Jan 1st, 2027, and will report the results at that point.
Onwards and upwards!
FAQs
For every Advent of Code 2026 puzzle solved in Ada and submitted through the Ada forum, AdaCore adds $10 to a charity fund. A solution in SPARK that's proven to at least SPARK Silver adds $20. Anyone who solves all 12 puzzles adds a further $100. The total is capped at $5,000 and goes to a charity after the event. Submissions are open until 1 January 2027, and you can suggest a charity in the same forum thread.
Advent of Code is a competition for people, and its creator asks participants not to use AI to solve the puzzles. Please write your first solution in Ada yourself. Once it's done, AI tools can help you add formal contracts to the code and take it up to SPARK Silver or higher. A proven SPARK solution earns a larger donation for the charity.
Author
Mark Hermeling

Mark has over 25 years’ experience in software development tools for high-integrity, secure, embedded and real-time systems across automotive, aerospace, defence and industrial domains. As Head of Technical Marketing at AdaCore, he links technical capabilities to business value and is a regular author and speaker on on topics ranging from the software development lifecycle, DevSecOps to formal methods and software verification.





