aoc2021
Advent of code 2021 solutions, in varied languages (by A-UNDERSCORE-D)
AdventOfCode2021_Julia
Doing the Advent of Code 2021 challenges live in Julia (by MarcusTL12)
Our great sponsors
aoc2021 | AdventOfCode2021_Julia | |
---|---|---|
8 | 3 | |
1 | 1 | |
- | - | |
2.6 | 0.0 | |
over 2 years ago | over 2 years ago | |
Python | Julia | |
ISC License | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
aoc2021
Posts with mentions or reviews of aoc2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-18.
-
Playing with go1.18beta1 generics on Advent of Code
I've been doing similar (in three langs, though Ive fallen behind on go and rust over the past few days) -- https://github.com/A-UNDERSCORE-D/aoc2021/blob/main/aoc/go/util/slice.go is most of my generic go fun, lots of implementations of higher order functions and nice wrappers
-
-๐- 2021 Day 9 Solutions -๐-
Python source
-
-๐- 2021 Day 7 Solutions -๐-
As usual, first implementation. Actually started by doing sum(range(1, steps+1)), and after solving remembered that theres a math thing for that (sum(0..n) = n * (n + 1) / 2). Nothing super fancy other than that. Code Finally starting to see speedup from pypy. That JIT is amazing but has its costs.
-
-๐- 2021 Day 6 Solutions -๐-
https://github.com/A-UNDERSCORE-D/aoc2021/blob/main/aoc/go/six/06.go -- Nothing super fancy. Nice ability to pick arrays over slices here though. Probably contributes a bit of speedup.
- -๐- 2021 Day 4 Solutions -๐-
- -๐- 2021 Day 3 Solutions -๐-
- -๐- 2021 Day 2 Solutions -๐-
- -๐- 2021 Day 1 Solutions -๐-
AdventOfCode2021_Julia
Posts with mentions or reviews of AdventOfCode2021_Julia.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-25.
-
[2021 Day: all of them] [Julia, Rust & C] Repo. Thank you for an amazing December of puzzles.
This has been a very fun year of puzzles. Looking forward to not having my alarm set for 05:45 in the morning any more. This year I've done everything in Julia to be fast (usually placed around 1000 for both parts), then trying to make nicer solutions in Rust later in the day, and then trying to make solutions in C, which this year meant that I would be implementing a Priority queue. The C repo is not quite complete. Missing a working solution for day 3 part 2 so far (Tried to be really big brain there, did not work out, and I haven't bothered going back yet), and day 23-25 is not yet completed. The rust repo should have working solutions for all days.
-
[2021 Day 12 Part 2] Has somebody found a sub 1s solution for part 2?
My part2_memo() solution here in julia runs in under 1ms timed with @btime.
-
-๐- 2021 Day 9 Solutions -๐-
After a bit of cleanup, mine is taking 230ยตs: https://github.com/MarcusTL12/AdventOfCode2021_Julia/blob/main/src/day9.jl
What are some alternatives?
When comparing aoc2021 and AdventOfCode2021_Julia you can also consider the following projects:
advent-of-code-kotlin - Advent of code 2021 - Kotlin
Advent_of_Code_in_Pascal - My solutions to the Advent of Code, in Free Pascal
AdventOfCode2021 - Solutions to all 25 AoC 2021 problems in Rust :crab: Less than 100 lines per day and under 1 second total execution time! :christmas_tree:
advent-of-code
programming-challenges - My attempts at solving various programming challenges. Leetcode, codewars, adventofcode, etc
adventofcode - Answers to Advent of Code
AdventOfCode2021.jl - Advent of Code 2021 in Julia
advent-of-code
aoc2021 - Solutions for Advent of Code 2021
aventofcode - My solutions for Advent of Code
aoc2021
aoc2021 - Advent of Code 2021 Solutions
aoc2021 vs advent-of-code-kotlin
AdventOfCode2021_Julia vs Advent_of_Code_in_Pascal
aoc2021 vs AdventOfCode2021
AdventOfCode2021_Julia vs advent-of-code
aoc2021 vs programming-challenges
AdventOfCode2021_Julia vs adventofcode
aoc2021 vs AdventOfCode2021.jl
AdventOfCode2021_Julia vs advent-of-code
aoc2021 vs aoc2021
aoc2021 vs aventofcode
aoc2021 vs aoc2021
aoc2021 vs aoc2021