sogou/workflow ? reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight C++ framework for fast backend services, focused on async networking and parallel work. I want it to make it easy to start an HTTP server, call HTTP services, talk to Redis, MySQL, and Kafka, and also let people define their own client and server protocol when needed.
Please keep it C++11, small, and dependency light. OpenSSL is fine, but don’t use Boost or asio. It should work on Linux and macOS first, with a clean path for Windows too. I want tasks to be chainable so users can run steps in order, run work in parallel, or build a DAG style workflow that mixes network calls, compute jobs, timers, and file IO.
Include simple tutorial examples, like hello world HTTP server, echo server, proxy, Redis set and get, MySQL query, Kafka client, parallel wget, sort task, matrix multiply, and an HTTP file server. Add clear build instructions with make and CMake, plus basic tests and docs.
Are you gonna build this?
make sure you review the code using coderabbit