T
ToolShelf
HTTPZ
// Zero heap allocation HTTP server using OxCaml. v experimental!

httpz

Zero heap allocation HTTP server using OxCaml. v experimental!

13EmergingUnknown
License
MIT
Updated
Today

What it does

A high-performance HTTP/1.1 parser and serializer achieving zero heap allocations using OxCaml's unboxed types (, , ) and local allocations. Will soon have iouring on Linux. - Zero heap allocations: Parser results are stack-allocated using OxCaml unboxed records and local lists - Unboxed integers throughout: Uses for offsets/counts and for content lengths - no boxing overhead - Direct bigstring

Getting Started

git
git clone https://github.com/avsm/httpz

Platforms

🪟windows🍎mac🐧linux

Install Difficulty

moderate

Built With

ocaml

Community Reactions