coros
ptc-print
coros | ptc-print | |
---|---|---|
2 | 11 | |
13 | 42 | |
- | - | |
1.1 | 4.9 | |
about 1 year ago | 7 months ago | |
C++ | C++ | |
MIT License | 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.
coros
-
My experience with C++ 20 coroutines
I tried to create a simple TCP server framework that uses coroutines. So, how it works is that when a read/write operation on a TCP socket blocks, the coroutine gets suspended. The underlying thread that is running the coroutine is then free to run other tasks, so this enables for concurrency with relatively few threads.
- C++ Show and Tell - August 2022
ptc-print
- ptc-print v1.2.1: a single-header C++ library for custom printing to the output stream
-
ptc-print v1.2.0: a C++17/20 header-only library for custom printing to the output stream (basically a detailed implementation of the Python print() function with improvements)
Repository link: https://github.com/JustWhit3/ptc-print
-
ptc-print: a C++17 header-only library for custom printing to the output stream (basically a detailed implementation of the Python print() function with improvements)
Hello everybody, I want to present you `ptc-print`, a modern C++ library for custom printing to the output stream. It is basically a detailed implementation of the Python `print()` function, with several additions. It is **NOT** a formatting library as `fmt`, but a pretty printer tool which provides you a most comfortable way to print generic stuff to the output stream. In particular, some of its features are: - It is constructed through the `Print` functor, which is a fully type- and thread-safe class with automatic memory management, implemented through an *header-only* library, with no external dependencies. - It supports also the usage of *ANSI escape sequences*. - It supports the printing of all the standard types and also stdlib ones (`std::vector`, `std::map` etc...). - It is possible to choose to print using different char types (`char`, `wchar_t`...). - Several [advantages](https://github.com/JustWhit3/ptc-print#advantages) with respect to similar libraries (friendly syntax, better performances, etc...). There is a whole README section dedicated to this. It has also many more features like the possibility to choose end and separator characters (like in Python) or to set a pattern among each printed argument. In the main README you can find all the information you want, a list of todo stuff and some preliminary [benchmarking](https://github.com/JustWhit3/ptc-print#comparison-with-other-libraries) studies I performed with respect to other similar libraries. With [performance improvements](https://github.com/JustWhit3/ptc-print#performance-improvements) options enabled it is even consistently faster than `fmt::print` or `printf`. If you like the repo don't forget to leave a star on GitHub! Thanks. Repository link: https://github.com/JustWhit3/ptc-print
-
C++ Show and Tell - August 2022
Repository: https://github.com/JustWhit3/ptc-print
What are some alternatives?
ReactivePlusPlus - Implementation of async observable/observer (Reactive Programming) in C++ with care about performance and templates in mind in ReactiveX approach
libbase-example-cmake - Example project showing how to integrate libbase with other project using CMake.
OpenfoldersBaseProject - C++ base project using modern cmake ninja multi-config, vcpkg and visual studio(if you are on windows) OpenFolders for seamless workflow. For linux, add your build preset at the bottom of CMakePresets.json
Reduct Storage - A time series database for storing and managing large amounts of blob data [Moved to: https://github.com/reductstore/reductstore]
nap - NAP Framework source code
ComplexPlane - A compiler for visualizing complex transformations in C++
cppcoro - A library of C++ coroutine abstractions for the coroutines TS
todds - A CPU-based DDS encoder optimized for fast batch conversions with high encoding quality.
chess-deep-rl-cpp - C++ version of my chess-deep-rl project. WIP
Limes - C++ utilities and building blocks
Pepper - PE32 (x86) and PE32+ (x64) binaries analysis tool, resources viewer/extractor.