coros
DPP
coros | DPP | |
---|---|---|
2 | 5 | |
13 | 949 | |
- | 2.5% | |
1.1 | 9.5 | |
about 1 year ago | about 18 hours ago | |
C++ | C++ | |
MIT License | Apache License 2.0 |
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
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?
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
µWebSockets - Simple, secure & standards compliant web server for the most demanding of applications
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
DiscordCoreAPI - A bot library for Discord, written in C++, and featuring explicit multithreading through the usage of custom, asynchronous C++ CoRoutines.
nap - NAP Framework source code
sleepy-discord - C++ library for the Discord chat client. Please use Rust for new bots
cppcoro - A library of C++ coroutine abstractions for the coroutines TS
concord - A Discord API wrapper library made in C
chess-deep-rl-cpp - C++ version of my chess-deep-rl project. WIP
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
ptc-print - A single-header cross-platform library for custom printing to the output stream.
libwebsockets - canonical libwebsockets.org networking library