ptc-print
OpenfoldersBaseProject
Our great sponsors
ptc-print | OpenfoldersBaseProject | |
---|---|---|
11 | 3 | |
42 | 4 | |
- | - | |
4.9 | 6.1 | |
7 months ago | about 1 year ago | |
C++ | CMake | |
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
OpenfoldersBaseProject
-
Compiling OpenCV Based C++ File With G++ Sucks... but why?
*Makes angry noises about cmake presets(shamelessplug)*
-
Use cmake to install dependency libraries?
Our project utilizes vcpkg to consume all libs we require, even those that are not available on vcpkg repo via overlays. What is nice about overlays is that it allows you to add your own cmake patches to the lib you're consuming which means you can write your own cmake layer for non-cmake libs (ie. bazel based projects, we use it for tensorflowlite), this is pretty much our setup, although this example doesn't show the overlay part
- C++ Show and Tell - August 2022
What are some alternatives?
coros - TCP server using C++ 20 Coroutines
Reduct Storage - A time series database for storing and managing large amounts of blob data [Moved to: https://github.com/reductstore/reductstore]
libbase-example-cmake - Example project showing how to integrate libbase with other project using CMake.
nap - NAP Framework source code
ComplexPlane - A compiler for visualizing complex transformations in C++
ReactivePlusPlus - Implementation of async observable/observer (Reactive Programming) in C++ with care about performance and templates in mind in ReactiveX approach
todds - A CPU-based DDS encoder optimized for fast batch conversions with high encoding quality.
CustomKeyboard - A swiss knife for myself - automotive development tools and a plenty of other things
libbase - Standalone reimplementation of //base module from Chromium
OpenNetBattle - An open source card-based battle engine written in modern C++