advent_of_code
advent-of-code
Our great sponsors
advent_of_code | advent-of-code | |
---|---|---|
5 | 10 | |
0 | 3 | |
- | - | |
0.0 | 8.2 | |
over 1 year ago | 5 months ago | |
Ada | JavaScript | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
advent_of_code
-
It's a brand new year! January 2023 What Are You Working On?
I've updated the README file of my github repository where I have put solutions to Advent of Code. The README file outlines my thoughts and considerations when writing the code which uses a minimal subset of the full Ada language, uses AdaControl to know the intended subset is used, how memory safety and resource management in general has been done when not taking advantage of SPARK. https://github.com/joakim-strandberg/advent_of_code
-
Outsider's Guide to Ada
I am aware that controlled types are associated with performance penalty although I haven't fully understood why. When I write Ada code I try to avoid using them although sometimes there seem to be no workaround like for example when using Gautier's multi precision integer implementation when doing Advent of Code 2021 (https://github.com/joakim-strandberg/advent_of_code, the "Big_Int_Holder" package in advent_of_code_2021.adb). Return value optimization (RVO) does make me think of extended return and limited types in Ada 2005, although as was discussed in the video that move semantics is more than that. Thanks for bringing up the subject!
-
AdaCore and Ferrous Systems Joining Forces to Support Rust
It's kind of the opposite for me. It takes much less time to understand what Ada-written code is doing compared to any of the C-type languages, or even Rust. It is very plainly written. Verbose, yes, but much more plainly written.
Just take a look at this, and tell me it's not legible: https://github.com/joakim-strandberg/advent_of_code/blob/mas...
-
-🎄- 2021 Day 2 Solutions -🎄-
Ada95, part one (full code at https://github.com/joakim-strandberg/advent_of_code/):
-
Ada and Advent of Code 2021
Ouch, link doesn't work, due to escape characters. The proper link: https://github.com/joakim-strandberg/advent_of_code
advent-of-code
-
-🎄- 2022 Day 5 Solutions -🎄-
JavaScript
-
-🎄- 2021 Day 20 Solutions -🎄-
Almost walked away from this when caught out by the "empty" space flipping. But stuck with it and managed to make it work without changing my approach too much.
-
-🎄- 2021 Day 16 Solutions -🎄-
I enjoyed this one, despite all the reading. Felt like a nice change of gear from yesterday's. Using recursion to read sub-packets from the binary string, using a function that returns the value (or version sum in part 1) as well as the length, so I know where to read from for the next sub-packet.
-
-🎄- 2021 Day 13 Solutions -🎄-
Enjoyed today's one, short and sweet
-
-🎄- 2021 Day 8 Solutions -🎄-
Mine is similar (but in JS)
-
-🎄- 2021 Day 3 Solutions -🎄-
Struggled to get my head around the explanation of part 2 today, need more coffee
-
-🎄- 2021 Day 2 Solutions -🎄-
not the most inspired solution
-
-🎄- 2021 Day 1 Solutions -🎄-
JS solutions, already settled back into the habit of relying on reduce functions
-
2020 Day 21 Solutions
GitHub - Solutions to both halves
What are some alternatives?
misra-rust - An investigation into what adhering to each MISRA-C rule looks like in Rust. The intention is to decipher how much we "get for free" from the Rust compiler.
advent-of-code-2021
aoc-ada-2021 - Advent of Code 2021 in Ada
scamp-cpu - A homebrew 16-bit CPU with a homebrew Unix-like-ish operating system.
AdventOfCode - My solutions to Advent of Code
aoc-2021-python - my Python solutions for Advent of Code 2021!
adventOfCode - https://adventofcode.com/
z3 - The Z3 Theorem Prover
aoc21
advent-of-code - Advent of Code 2022
scratch-www - Standalone web client for Scratch
aoc-2021-kotlin - Advent of Code 2021 puzzle solving using Kotlin