version2
Vector class library, latest version (by vectorclass)
Advent-of-Code
By Catterwaul
version2 | Advent-of-Code | |
---|---|---|
6 | 11 | |
1,220 | 1 | |
1.6% | - | |
5.8 | 10.0 | |
3 months ago | over 1 year ago | |
C++ | Swift | |
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?
Advent-of-Code
Posts with mentions or reviews of Advent-of-Code.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-11.
-
-๐- 2022 Day 12 Solutions -๐-
Swift. I tried to use GameplayKit's pathfinding, but I got fed up with it being in Objective-C and not working with subtypes properly. shortestPathSources is just an implementation of Dijkstra that works on matrices.
-
-๐- 2022 Day 11 Solutions -๐-
Swift.
-
-๐- 2022 Day 10 Solutions -๐-
Swift. Algorithms had me covered for Part 2, but I had to make something for Part 1 that would allow for getting the elements of a Sequence based on sorted offsets, without having to start from the beginning each time.
-
-๐- 2022 Day 9 Solutions -๐-
I recommend SIMD2โit can save you a lot of reinventing the 2D wheel!
-
-๐- 2022 Day 8 Solutions -๐-
Swift. We don't have good types for this. ๐คฎ
-
-๐- 2022 Day 6 Solutions -๐-
Swift. containsOnlyUniqueElements is not in the standard library; it relies on this Set initializer.
-
-๐- 2022 Day 5 Solutions -๐-
Works grood.
-
-๐- 2022 Day 4 Solutions -๐-
No, I edited my comment. I was wrong in thinking that there was a proper overload. The one I'm using is just from `extension Collection where Self.Element : Equatable` in the new _StringProcessing section for Regex. It gives the correct result, but it's not as fast as it could be. (https://stackoverflow.com/questions/64066681/check-if-one-range-is-within-another)
-
-๐- 2022 Day 2 Solutions -๐-
Swift, using some helpers for `CaseIterable`.
What are some alternatives?
When comparing version2 and Advent-of-Code you can also consider the following projects:
highway - Performance-portable, length-agnostic SIMD with runtime dispatch
AoC2022 - Solutions to the Advent of Code (AoC) 2022
aoc22 - Advent of Code solutions for 2022 (in Python)
advent-of-code-rust - ๐Starter template for solving Advent of Code in Rust.
advent2022
advent-of-code-solved - My advent of code, in jqโฆ
adventOfCode2022
AdventOfCode2022
simde - Implementations of SIMD instruction sets for systems which don't natively support them.
aoc2022 - ๐
Day4 - My (messy) Python3 solution for day4's puzzle.
adventofcode - :christmas_tree: Advent of Code (2015-2023) in C#
version2 vs highway
Advent-of-Code vs AoC2022
version2 vs aoc22
Advent-of-Code vs advent-of-code-rust
version2 vs advent2022
Advent-of-Code vs advent-of-code-solved
version2 vs adventOfCode2022
Advent-of-Code vs AdventOfCode2022
version2 vs simde
Advent-of-Code vs aoc2022
version2 vs Day4
Advent-of-Code vs adventofcode