libflow
zab
libflow | zab | |
---|---|---|
5 | 3 | |
63 | 64 | |
- | - | |
4.1 | 0.0 | |
over 2 years ago | almost 2 years ago | |
C++ | C++ | |
Boost Software License 1.0 | MIT License |
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.
zab
-
What are coroutines even for?
We probably won’t see any ROI until some libraries mature further and become more standardised. Here’s my library I’m writing to learn and generally improve my programming: ZAB. It may give you some ideas.
- Are there any benchmarks comparing C++ coroutines with std::threads?
- ZAB - A coroutine-enabled asynchronous framework.
What are some alternatives?
scnlib - scanf for modern C++
asyncio - asyncio is a c++20 library to write concurrent code using the async/await syntax.
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:
libuv - Cross-platform asynchronous I/O
CPython - The Python programming language
packio - An asynchronous msgpack-RPC and JSON-RPC library built on top of Boost.Asio.
range-v3 - Range library for C++14/17/20, basis for C++20's std::ranges
lev - Lightweight C++ wrapper for LibEvent 2 API
advent-of-code-2021 - 🦀 Rust solutions to AoC 2021
Boost.Asio - Asio C++ Library
uvw - Header-only, event based, tiny and easy to use libuv wrapper in modern C++ - now available as also shared/static library!
libev - Full-featured high-performance event loop loosely modelled after libevent