version2
Vector class library, latest version (by vectorclass)
adventofcode
Advent of code solutions (by mathsaey)
version2 | adventofcode | |
---|---|---|
6 | 55 | |
1,220 | 20 | |
1.6% | - | |
5.8 | 7.8 | |
3 months ago | 4 months ago | |
C++ | Elixir | |
Apache License 2.0 | - |
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.
version2
Posts with mentions or reviews of version2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-08.
-
SIMD intrinsics and the possibility of a standard library solution
Vector class library - 938 GH stars
- Checking for the absence of a string, naive AVX-512 edition
-
-๐- 2022 Day 4 Solutions -๐-
Most of the time is spent parsing, but this problem lends itself nicely to a SIMD formulation, which using vectorclass doesn't even require detailed knowledge of the intrinsics. Hot runs take ~14 ยตs on a Core i9-12900K, including I/O. Full code is (here)[https://github.com/ahans/aoc2022/blob/main/cpp/day04.cc], the interesting part is this, where we process 32 elements at once:
- Significantly faster quicksort using SIMD
- Parsing JSON faster with Intel AVX-512
- What do you think is faster for batch-processing a lot of "double-type" arithmetic?
adventofcode
Posts with mentions or reviews of adventofcode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
-โ๏ธ- 2023 Day 10 Solutions -โ๏ธ-
Part one went fairly fast, but spent quite some time on getting part two right. I settled on the approach of just iterating over the grid and using a boolean to see if I had to count elements or not. However, I had some issues figuring out when to swap, this post by /u/rogual helped me figure it out. After that I lost quite some time on an error that only occurred with my input, not with the example input. It turned out that my loop (which I take form my p1 solution) didn't include the start node, which caused all sorts of counting issues.
-
-โ๏ธ- 2023 Day 4 Solutions -โ๏ธ-
[Language: Elixir] https://github.com/mathsaey/adventofcode/blob/master/lib/2023/4.ex
- -๐- 2022 Day 25 Solutions -๐-
- -๐- 2022 Day 24 Solutions -๐-
- -๐- 2022 Day 23 Solutions -๐-
- -๐- 2022 Day 22 Solutions -๐-
- -๐- 2022 Day 21 Solutions -๐-
- -๐- 2022 Day 20 Solutions -๐-
- -๐- 2022 Day 19 Solutions -๐-
- -๐- 2022 Day 18 Solutions -๐-
What are some alternatives?
When comparing version2 and adventofcode you can also consider the following projects:
highway - Performance-portable, length-agnostic SIMD with runtime dispatch
AdventOfCode2021 - Advent of code 2021
aoc22 - Advent of Code solutions for 2022 (in Python)
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
advent2022
adventofcode - Answers to Advent of Code
adventOfCode2022
aoc2021 - Advent of Code 2021 - my answers
simde - Implementations of SIMD instruction sets for systems which don't natively support them.
rockstar - The Rockstar programming language specification
Day4 - My (messy) Python3 solution for day4's puzzle.
roast - ๐ฆ Raku test suite