PhotonLibOS
DiscordCoreAPI
Our great sponsors
PhotonLibOS | DiscordCoreAPI | |
---|---|---|
6 | 9 | |
792 | 143 | |
4.3% | - | |
9.4 | 6.8 | |
4 days ago | 15 days 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.
PhotonLibOS
-
Coroutine made DPDK dev easy
So, we try to use Photon coroutine lib to simplify the development of DPDK applications with the new concurrency model, and provide more functionalities, such as lock, timer and file I/O. First of all, we need to choose a userspace network protocol stack. After investigation, we have chosen Tencent's open source F-Stack project, which has ported the entire FreeBSD 11.0 network protocol stack on top of DPDK. It also has made some code cuts, providing a set of POSIX APIs, such as socket, epoll, kqueue, etc. Of course, its epoll is also simulated by kqueue, since it is essentially FreeBSD.
-
200 lines of code to rewrite the 600'000 lines RocksDB into a coroutine programx
Finally, the PhotonLibOS project is open sourced at https://github.com/alibaba/PhotonLibOS. If you are interested in C++ coroutines and high-performance IO, welcome to have a try.
- A performance review of io_uring vs. epoll for standard/streamed socket traffic
-
C++ Show and Tell - September 2022
Photon (https://github.com/alibaba/PhotonLibOS) is a coroutine lib, and it just released v0.3.
- C++ Show and Tell - July 2022
-
I was thinking of submitting a proposal to make std::coroutine_handle<void> convertible to void (*)() and was looking for feedback.
the fastest coroutine library by the year of 2022, https://github.com/alibaba/PhotonLibOS
DiscordCoreAPI
- C++ Show and Tell - June 2023
- Discord Bot Library, written in C++
-
Library that has been released on Vcpkg.
Hey everyone! So my Discord bot library has been released on Vcpkg! Which makes it super convenient to install/build/link with your projects! Any/all feedback on the code itself is super welcome! Basically it's a library that has been written with custom asynchronous coroutines, as well as a custom-built websocket, datagram socket, and https client - all to deliver the utmost performance for your Discord bot! Cheers and thanks for your time! https://discordcoreapi.com
-
What are some projects that taught you a lot?
My Discord bot library! https://discordcoreapi.com!
- Update Regarding a C++ Discord Bot Library
-
What makes a bot unique?
I would say the quality of the architecture matters. I recently ran into https://discordcoreapi.com/
-
Bot using C
An interesting library in C++, there you go https://github.com/RealTimeChris/DiscordCoreAPI (Not written by me, great thanks to Chris).
- A New Discord Bot Library, in C++
- A new Discord Library in C++
What are some alternatives?
libfiber - The high performance c/c++ coroutine library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI
DPP - C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
concurrencpp - Modern concurrency for C++. Tasks, executors, timers and C++20 coroutines to rule them all
DSharpPlus - A .NET library for making bots using the Discord API.
libgo - Go-style concurrency in C++11
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
coost - A tiny boost library in C++11.
discord-api-docs - Official Discord API Documentation
tolc - A bindings compiler for C++
Project-Alice - An open-source game
f-stack - F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
oink-stack - Oink is a collaboration of C++ static analysis tools.