zhp
A Http server written in Zig (by frmdstryr)
lighttpd1.4
lighttpd1.4 on github for easier collaboration - main repo still on lighttpd.net (by lighttpd)
Our great sponsors
zhp | lighttpd1.4 | |
---|---|---|
3 | 2 | |
344 | 576 | |
- | 3.0% | |
0.0 | 9.6 | |
almost 2 years ago | 7 days ago | |
Zig | C | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
zhp
Posts with mentions or reviews of zhp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
- I want to run simple http server that I also know how it works
- Zig web performance
-
Zig, Parser Combinators – and Why They're
Zig is, very roughly speaking, competing with the C language. We might say that Zig is to C what Rust is to C++, again, very very roughly.
There's at least one Zig HTTP server framework out there [0] but it's not really what the language is intended for.
[0] https://github.com/frmdstryr/zhp
lighttpd1.4
Posts with mentions or reviews of lighttpd1.4.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
-
combining here-docs with process substitution
/u/ghiste your best chance IMHO is to use the more robust approach of stdin config parsing (which may not be supported in distro-packaged lighttpd versions, but sure is when you compile from source). At that point you can rewrite your code like this:
-
I want to run simple http server that I also know how it works
If you are looking for a complete and relative unrestrictive solution, which is also used in embedded, try lighttpd https://github.com/lighttpd/lighttpd1.4
What are some alternatives?
When comparing zhp and lighttpd1.4 you can also consider the following projects:
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
routez - Http server for Zig
funcparserlib - Recursive descent parsing library for Python based on functional combinators
khadem - Async webserver implemented in both Zig and Rust
zap - blazingly fast backends in zig
zigbyexample
mecha - A parser combinator library for Zig
ziggetty - A Static Server in Zig
http - HTTP core types for Zig 🦴
experiments - A collection of little snippets of programs I write when I test out ideas. A code "playground".