paf-le-chien
Port of HTTP/AF & H2 with Mirage and mimic (by dinosaure)
ocaml-opium-unikernel
Example unikernel using opium + httpaf (using https://github.com/dinosaure/paf-le-chien) (by anuragsoni)
paf-le-chien | ocaml-opium-unikernel | |
---|---|---|
1 | 2 | |
31 | 10 | |
- | - | |
5.0 | 0.0 | |
26 days ago | about 4 years ago | |
OCaml | OCaml | |
MIT 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.
paf-le-chien
Posts with mentions or reviews of paf-le-chien.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-25.
-
The RustyHermit Unikernel: unikernel written in Rust
The `opium_kernel` example I linked to above is running on top of https://github.com/dinosaure/paf-le-chien which is a mirage layer for httpaf.
ocaml-opium-unikernel
Posts with mentions or reviews of ocaml-opium-unikernel.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-25.
-
The road ahead for MirageOS in 2021
Yesterday I was made aware of this example of using a simple (Sinatra/Flask/Express-like) web framework on top of Mirage:
https://github.com/anuragsoni/ocaml-opium-unikernel/blob/mas...
If not mistaken one should be able to use ReasonML[1] as a language frontend with this as well, thereby bringing down the entry barrier.
https://reasonml.github.io/docs/en/what-and-why
-
The RustyHermit Unikernel: unikernel written in Rust
Lwt [1] based web frameworks can be used on MirageOS if they provide an interface that allows someone to swap out the unix dependent pieces. One such framework is Opium [2], that provides most of its features in a unix independent code library `opium_kernel`. Its fairly straightforward to run an opium app on mirage. This example needs to be updated to the newest apis in the released version of Opium but this can provide some hints about how to run an opium app on mirage: https://github.com/anuragsoni/ocaml-opium-unikernel.
If a lower level web toolkit is sufficient then ocaml's cohttp [3] library has been available on mirage for quite some time now.
[1] https://github.com/ocsigen/lwt/
[2] https://github.com/rgrinberg/opium
[3] https://github.com/mirage/ocaml-cohttp/
What are some alternatives?
When comparing paf-le-chien and ocaml-opium-unikernel you can also consider the following projects:
httpaf - A high performance, memory efficient, and scalable web server written in OCaml
ling - Erlang on Xen