The infinite, dual Web client/server and JavaScript processor, powered by Green Threads!
This subproject is a WIP implementation that follows up on LibHTTP, and CivetWeb, forks of Mongoose. With ideas from quickwebserver.
- Where as, all parsing and actual communcations replaced with Events API, and other routines that's already implemented.
- Each incoming request accepted handled in independent coroutines aka green threads,
the
Events APIspread across a thread pool determented by number of core available. - All file system calls handled by a different thread pool designed just for that purpose.
- Replace Duktape with QuickJS-NG for Direct JavaScript support. This came about after getting a better understanding of the layout from QuickJS: An Overview and Guide to Adding a New Feature and Building a Runtime with QuickJS. It's really possible to build Yet Another JavaScript runtime aka Node.js, Bun, etc... replacement. For better QuickJS-NG documention on
APIsee https://www.mintlify.com/quickjs-ng/quickjs/introduction. - Remove direct CGI handling.