DPP
ptc-print
Our great sponsors
DPP | ptc-print | |
---|---|---|
5 | 11 | |
943 | 42 | |
4.9% | - | |
9.6 | 4.9 | |
8 days ago | 7 months ago | |
C++ | C++ | |
Apache License 2.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.
DPP
-
How to add runtime dependencies to flake so they can be found (gtkmm4, shared-mime-info)?
For me it just fails on dpp wrap file not containing a valid URL. And if I change it to https://github.com/brainboxdotcc/DPP, it fails on the repo not containing a meson.build file. And if I comment out the dependency it fails due to non-existent include/ directory. And if I comment that out, it succeeds just fine.
-
REST APIs using C++. (Is this even done much?)
Sure, the D++ Discord bot library is a good example of an implementation of REST in C++. I wouldn't say it's particularly modern as it doesn't make a lot of use of modern C++ features such as constexpr, string_view and so on, but it's not too bad.
-
Finally my project is on vcpkg!
Looking quickly you'll want to use https://github.com/brainboxdotcc/DPP/blob/master/library-vcpkg/CMakeLists.txt
-
C++ Show and Tell - August 2022
I've been working for many months (actually over a year now) on creating and maintaining the D++ Discord API Library (aka DPP) making it lightweight and scalable for my needs.
-
Update Regarding a C++ Discord Bot Library
Out of curiousity; what does this library offer that, say, a mature library like DPP (https://github.com/brainboxdotcc/DPP) doesn't offer?
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?
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
coros - TCP server using C++ 20 Coroutines
DiscordCoreAPI - A bot library for Discord, written in C++, and featuring explicit multithreading through the usage of custom, asynchronous C++ CoRoutines.
libbase-example-cmake - Example project showing how to integrate libbase with other project using CMake.
sleepy-discord - C++ library for the Discord chat client. Please use Rust for new bots
Reduct Storage - A time series database for storing and managing large amounts of blob data [Moved to: https://github.com/reductstore/reductstore]
concord - A Discord API wrapper library made in C
ComplexPlane - A compiler for visualizing complex transformations in C++
libcurl - A command line tool and library for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS and WSS. libcurl offers a myriad of powerful features
todds - A CPU-based DDS encoder optimized for fast batch conversions with high encoding quality.
libwebsockets - canonical libwebsockets.org networking library
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