version2
Vector class library, latest version (by vectorclass)
adventOfCode2022 | version2 | |
---|---|---|
1 | 6 | |
2 | 1,220 | |
- | 1.6% | |
10.0 | 5.8 | |
over 1 year ago | 3 months ago | |
Chapel | C++ | |
- | 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.
adventOfCode2022
Posts with mentions or reviews of adventOfCode2022.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-03.
-
-๐- 2022 Day 4 Solutions -๐-
Code | Blog Walkthrough
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?
What are some alternatives?
When comparing adventOfCode2022 and version2 you can also consider the following projects:
advent - Solutions to https://adventofcode.com/
highway - Performance-portable, length-agnostic SIMD with runtime dispatch
advent-of-code
aoc22 - Advent of Code solutions for 2022 (in Python)
AoC - Advent of Code
advent2022
AdventOfCodeCSharp - My AoC Solutions
simde - Implementations of SIMD instruction sets for systems which don't natively support them.
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
Day4 - My (messy) Python3 solution for day4's puzzle.
aoc - advent of code
advent-of-code
adventOfCode2022 vs advent
version2 vs highway
adventOfCode2022 vs advent-of-code
version2 vs aoc22
adventOfCode2022 vs AoC
version2 vs advent2022
adventOfCode2022 vs AdventOfCodeCSharp
version2 vs simde
adventOfCode2022 vs adventofcode
version2 vs Day4
adventOfCode2022 vs aoc
version2 vs advent-of-code