just VS picohttpparser

Compare just vs picohttpparser and see what are their differences.

just

the only javascript runtime to hit no.1 on techempower :fire: (by just-js)

picohttpparser

tiny HTTP parser written in C (used in HTTP::Parser::XS et al.) (by h2o)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
just picohttpparser
25 3
3,543 1,782
1.4% 0.9%
2.5 4.2
5 months ago 2 months ago
JavaScript C
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.

just

Posts with mentions or reviews of just. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-10.

picohttpparser

Posts with mentions or reviews of picohttpparser. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-18.
  • Ask HN: Resources for Building a Webserver in C?
    10 projects | news.ycombinator.com | 18 Dec 2022
  • Linux Kernel vs. DPDK: HTTP Performance Showdown
    5 projects | news.ycombinator.com | 4 Jul 2022
    Yea, it is definitely a fake HTTP server which I acknowledge in the article [1]. However based on the size of the requests, and my observation of the number of packets per second being symmetrical at the network interface level, I didn't have a concern about doubled responses.

    Skipping the parsing of the HTTP requests definitely gives a performance boost, but for this comparison both sides got the same boost, so I didn't mind being less strict. Seastar's HTTP parser was being finicky, so I chose the easy route and just removed it from the equation.

    For reference though, in my previous post[2] libreactor was able to hit 1.2M req/s while fully parsing the HTTP requests using picohttpparser[3]. But that is still a very simple and highly optimized implementation. From what I recall when I played with disabling HTTP parsing in libreactor I got a performance boost of about 5%.

    1. https://talawah.io/blog/linux-kernel-vs-dpdk-http-performanc...

    2. https://talawah.io/blog/extreme-http-performance-tuning-one-...

    3. https://github.com/h2o/picohttpparser

  • JS faster than Rust?
    3 projects | /r/rust | 24 Feb 2021
    Just-js is not nodejs framework. It's sperate runtime and most of the http code is written using c/c++ (for example headers parsing logic is written using c and is using https://github.com/h2o/picohttpparser which is c library)

What are some alternatives?

When comparing just and picohttpparser you can also consider the following projects:

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

ntex - framework for composable networking services

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

openonload - git import of openonload.org https://gist.github.com/majek/ae188ae72e63470652c9

onload - OpenOnload high performance user-level network stack

hermes - A JavaScript engine optimized for running React Native.

epoll-server - C code for multithreaded multiplexing client socket connections across multiple threads (so its X connections per thread) uses epoll

jerryscript - Ultra-lightweight JavaScript engine for the Internet of Things.

libreactor - Extendable event driven high performance C-abstractions

quickjspp - Port of QuickJS Javascript Engine.

liburing