advent_of_code
advent-of-code
Our great sponsors
advent_of_code | advent-of-code | |
---|---|---|
5 | 12 | |
0 | 22 | |
- | - | |
0.0 | 8.7 | |
over 1 year ago | 4 months ago | |
Ada | Python | |
- | - |
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
-
-❄️- 2023 Day 6 Solutions -❄️-
[LANGUAGE: Python]
- How many lines of code was your day 3 solution?
-
-🎄- 2022 Day 17 Solutions -🎄-
Python, Part 1 Only
-
-🎄- 2022 Day 5 Solutions -🎄-
Python
-
-🎄- 2021 Day 3 Solutions -🎄-
Rust Version
-
-🎄- 2021 Day 2 Solutions -🎄-
Rust
-
[2018 day 9] [C] Fast solution to the marble game
When I get back home after the holiday weekend I'll try benchmarking on my machine properly. But here's my version (in Common Lisp): https://github.com/rabuf/advent-of-code/blob/master/2018/2018.09.org
-
Ada and Advent of Code 2021
Rest of 2021
-
Programing midlife "crysis"
I'm partial to Common Lisp, but both Scheme and Racket would be good choices as well. There's a few of us who've been using CL the last few years to solve (nearly) every puzzle. If you want to see (not always great) solutions to the puzzles in Common Lisp, here's my repo, of course don't look at days you haven't solved yet unless you want spoilers. But it can give you a feel for how CL can be used to solve the problems. I'd intended to revisit them and clean them up, but never got around to it.
-
[2020 Day 10 (Part 2)][C++] Non-memoization solution!
Interestingly, I think that solution is rather near the memoized version in one key regard. It's not memoization, however it's still storing all the results (the count for every joltage adaptor). You can massively reduce its storage by going with something like my solution (C-f for "part 2", there are two solutions one in Common Lisp and one in Ada), which is like the non-memoized iterative fibonacci series (psuedocode, pythonesque):
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 - My solution for the Advent of Code challenges in various languages.
aoc-ada-2021 - Advent of Code 2021 in Ada
toit - Program your microcontrollers in a fast and robust high-level language.
advent-of-code - My Advent of Code solutions through the years - mostly JS
advent-of-code-cpp - C++ solutions for the Advent of Code programming puzzles - http://adventofcode.com/
AdventOfCode - My solutions to Advent of Code
advent - Solving Advent of Code problems. See https://adventofcode.com/
adventOfCode - https://adventofcode.com/
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
aoc21
advent-of-code-2020 - Solutions of Advent of Code 2020