An open API service indexing awesome lists of open source software.

https://github.com/maverik/aoc2024

Advent of Code 2024 Solutions
https://github.com/maverik/aoc2024

aoc-2024 aoc-2024-in-csharp aoc-2024-in-zig csharp dotnet linqpad zig

Last synced: about 2 months ago
JSON representation

Advent of Code 2024 Solutions

Awesome Lists containing this project

README

          

[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-orange.svg?style=for-the-badge&logo=creativecommons&link=https://creativecommons.org/licenses/by-nc-sa/4.0/)](https://creativecommons.org/licenses/by-nc-sa/4.0/)

# 🚀 Advent of Code 2024 Solutions by Maverik

This repo contains my take on solutions for [Advent of Code - 2024](https://adventofcode.com/2024) solutions in C# using [LINQPad 8](https://www.linqpad.net) and [Zig](https://ziglang.org/).

 

## 💡 Good to know

Given the different natures of Zig and C#, the solutions take different approaches to solution that is closer to the intended language design.

[C# solutions](LINQPad/) are generally more geared towards LINQ based pipelines where applicable while [Zig solutions](Zig/) are more performance oriented offering compiler the chance to vectorize more readily with few abstractions getting in the way.

This is my first time writing Zig so the code is a learning journey (and a very pleasant one at that!). 😊

 

## 🎈 Fun while solving challenges

https://github.com/user-attachments/assets/d764a7c0-f59a-4f60-a860-883d80a58e29

 

## ⚖️ License & Attribution

This work by Maverik is licensed under CC BY-NC-SA 4.0 CCBYNCSA

Please familiarize yourself with your **rights** and **obligations** under this license grant by clicking the relevant link above.