libflow
advent-of-code-2021
libflow | advent-of-code-2021 | |
---|---|---|
5 | 4 | |
63 | 5 | |
- | - | |
4.1 | 3.0 | |
over 2 years ago | 5 months ago | |
C++ | Rust | |
Boost Software License 1.0 | - |
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
-
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.
advent-of-code-2021
-
Modern C++ in Advent of Code
With danger of being downvoted hard - looking at the first few day solutions.. it's not pretty. It's probably trying to be illustrative of new C++ features but check how much cleaner these Rust solutions look (not my code) - https://github.com/wfxr/advent-of-code-2021/blob/main/src/day01/mod.rs. Not trying to be a hater (C++ used to be my go to language some time back) but I hope somehow the new C++ apis get cleaned up.
-
-🎄- 2021 Day 14 Solutions -🎄-
Optimized Rust Solution
-
-🎄- 2021 Day 6 Solutions -🎄-
Rust 4.4us Solution:
-
-🎄- 2021 Day 3 Solutions -🎄-
Rust solution without external lib:
What are some alternatives?
zab - C++20 liburing backed coroutine executor and event loop framework.
advent-of-code-2021 - My solutions for the https://adventofcode.com puzzles (2021) 🎄🎅
scnlib - scanf for modern C++
advent-of-code-2021 - My solutions to advent of code 2021 in deno/TS
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 - My Advent of Code solutions.
CPython - The Python programming language
AoC - my personal repo for the advent of code yearly challenge
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
advent-of-code
aoc2021 - Advent of Code 2021 on my homemade 16-bit CPU SCAMP
advent-of-code-2021