Skip to content

zelang-dev/httpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpi

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 API spread 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 API see https://www.mintlify.com/quickjs-ng/quickjs/introduction.
  • Remove direct CGI handling.

About

The Infinite Web client/server and JavaScript processor, powered by Green Threads!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors