libflow
By tcbrindle
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: (by AxlLind)
libflow | AdventOfCode2021 | |
---|---|---|
5 | 49 | |
63 | 61 | |
- | - | |
4.1 | 2.6 | |
over 2 years ago | 4 months ago | |
C++ | Rust | |
Boost Software License 1.0 | MIT License |
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.
libflow
Posts with mentions or reviews of libflow.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-01-03.
-
CXXIter: A chainable c++20 LINQ-like iterator library
Have you seen libflow? It's also built on the same model (Rust-style iterators), curious how they compare.
-
Modern C++ in Advent of Code
Just to get on the bandwagon: here are my C++20 Advent of Code solutions, mostly using my work-in-progress Flow library
-
T* makes for a poor optional<T&>
Perhaps relevant since Barry mentioned my Flow library as an example: the following (written a couple of years ago for another Reddit thread) is what would appear in Flow's documentation as a justification for using optional references -- if Flow actually had any documentation, that is...
-
Is it well defined if you pipe a stateful transform into views::drop?
If you want to use the Rust iterator model in C++, then you can do so.
-
What are coroutines even for?
I have a work-in-progress-for-a-long-time-now functional-style programming library called libflow, which uses Swift/Rust style iterators. It has optional support for coroutines ("flowroutines", heh) which can make writing "one-shot" iterators very simple indeed.
AdventOfCode2021
Posts with mentions or reviews of AdventOfCode2021.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-29.
- [All years, all dates] Me after finishing all Advent of Code problems this year (my first year of AoC)
-
How to organize Rust code for Advent of Code puzzles?
I found this repository which solves the problem by having a src/main.rs file which basically calls cargo run --release {day} and parses the output to extract the time each day took, but I don't find this very satisfactory. I'd prefer to have everything compiled into the same executable, without having to run external commands.
-
Advent of Code: A suggestion for more advanced learners
You can always check out the problems from previous years.
-
Can I learn python in a month?
https://adventofcode.com/2021 for practice.
- C++ knowledge
- Prawda o Pracy
- O que é o Advent Of Code?
- Knobelaufgaben für C#
-
Practice exercises in c++
Here is 2021: https://adventofcode.com/2021
- Give Me a Program to Code
What are some alternatives?
When comparing libflow and AdventOfCode2021 you can also consider the following projects:
zab - C++20 liburing backed coroutine executor and event loop framework.
100-days-of-code - Fork this template for the 100 days journal - to keep yourself accountable (multiple languages available)
scnlib - scanf for modern C++
adventofcode - My solutions to the Advent of Code challenges
CPython - The Python programming language
Advent-of-code - My solutions of adventofcode.com
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
AoC - my personal repo for the advent of code yearly challenge
advent-of-code-2021 - 🦀 Rust solutions to AoC 2021
advent-of-code - Advent Of Code Solutions
aoc2021 - My solutions to Advent of Code 2021.
Advent-of-Code - Advent of Code
libflow vs zab
AdventOfCode2021 vs 100-days-of-code
libflow vs scnlib
AdventOfCode2021 vs adventofcode
libflow vs CPython
AdventOfCode2021 vs Advent-of-code
libflow vs range-v3
AdventOfCode2021 vs AoC
libflow vs advent-of-code-2021
AdventOfCode2021 vs advent-of-code
AdventOfCode2021 vs aoc2021
AdventOfCode2021 vs Advent-of-Code