r/cpp11 • u/[deleted] • Jan 27 '24
🚀Framework 🧠 Write Asynchronous Code With C++11 | Nodepp
Hi there, I would like to show you a framework called Nodepp. This is a project I've been working on for a while, making this idea into reality.
In summary, this framework will let us create C++ code asynchronously, with a syntax similar to NodeJS or Javascript.
I have to point out that this framework is compatible with C++11 | C++14 | C++17
If you're interested, let me know what do you think about it 👍.
with Nodepp, you can create:
TCP | TLS | UDP Servers & Clients
HTTP | HTTPS Servers & Clients
WS | WSS Servers & Clients
Poll | Epoll | Kqueue Support
File Streams
zlib streams
Generators
Coroutines
Observers
Promises
Timers
Events
And so on. Here is a simple example of a WebSocket server created with Nodepp:
server: https://github.com/NodeppOficial/nodepp/blob/main/examples/WSServer.cpp
client: https://github.com/NodeppOficial/nodepp/blob/main/examples/WSClient.cpp
Here's another example of an HTTP Server created with Nodepp
server: https://github.com/NodeppOficial/nodepp/blob/main/examples/HTTPServer.cpp
client: https://github.com/NodeppOficial/nodepp/blob/main/examples/HTTPRequest.cpp
If you’re interested in Nodepp, Here is the Github repository:
Windows | Linux | Mac: https://github.com/NodeppOficial/nodepp