ptc-print
ComplexPlane
Our great sponsors
ptc-print | ComplexPlane | |
---|---|---|
11 | 1 | |
42 | 1 | |
- | - | |
4.9 | 3.8 | |
7 months ago | about 2 months ago | |
C++ | C | |
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.
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
ComplexPlane
What are some alternatives?
coros - TCP server using C++ 20 Coroutines
BTree - A general-purpose high-performance lightweight STL-like modern C++ B-Tree
libbase-example-cmake - Example project showing how to integrate libbase with other project using CMake.
SkeletalEngine - A game engine created in C++ which helps you to 'create your own universe'
Reduct Storage - A time series database for storing and managing large amounts of blob data [Moved to: https://github.com/reductstore/reductstore]
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
todds - A CPU-based DDS encoder optimized for fast batch conversions with high encoding quality.
OpenNetBattle - An open source card-based battle engine written in modern C++
libbase - Standalone reimplementation of //base module from Chromium