lwan

Experimental, scalable, high performance HTTP server (by lpereira)

Lwan Alternatives

Similar projects and alternatives to lwan

  1. Caddy

    469 lwan VS Caddy

    Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Redis

    445 lwan VS Redis

    For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.

  4. OpenSSL

    General purpose TLS and crypto library

  5. libuv

    93 lwan VS libuv

    Cross-platform asynchronous I/O

  6. GLFW

    84 lwan VS GLFW

    A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

  7. endoflife.date

    Informative site with EoL dates of everything

  8. ZLib

    59 lwan VS ZLib

    A massively spiffy yet delicately unobtrusive compression library.

  9. libvips

    31 lwan VS libvips

    A fast image processing library with low memory needs.

  10. Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  11. ccan

    14 lwan VS ccan

    The C Code Archive Network

  12. ossdatabase

    Source for ossdatabase.com

  13. Crow

    8 lwan VS Crow

    Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)

  14. Kore

    13 lwan VS Kore

    An easy to use, scalable and secure web application framework for writing web APIs in C or Python. || This is a read-only mirror, please see https://kore.io/mail and https://kore.io/source for information on how to contribute via the mailing lists.

  15. Scrabble Solver by Kamil Mielnik

    Free, open-source, cross-platform, multi-language analysis tool for Scrabble, Scrabble Duel, Super Scrabble, Letter League, Crossplay, Literaki, Kelimelik, Wyrazy, and Wordfeud. Quickly find the top-scoring words using the given board and tiles. Available in 9 languages.

  16. Civetweb

    6 lwan VS Civetweb

    Embedded C/C++ web server

  17. Oat++

    26 lwan VS Oat++

    🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.

  18. drogon

    6 lwan VS drogon

    Discontinued Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon] (by an-tao)

  19. Jansson

    6 lwan VS Jansson

    C library for encoding, decoding and manipulating JSON data

  20. cookwherever

    4 lwan VS cookwherever

    Cook Wherever is an open source project to attempt to making cooking more accessible and engaging for everyone.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lwan alternative or higher similarity.

lwan discussion

Log in or Post with

lwan reviews and mentions

Posts with mentions or reviews of lwan. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-10-09.
  • Love C, Hate C: Web Framework Memory Problems
    5 projects | news.ycombinator.com | 9 Oct 2025
    You would need to declare a descriptor, linking each field to how it's spelled in the JSON (e.g. the some_string member could be "some-string" in the JSON), the byte offset from the beginning of the struct where the field is (using the offsetof() macro), and the type.

    The parser is then able to go through the JSON, and initialize the struct directly, as if you had reflection in the language. It'll validate the types as well. All this without having to allocate a node type, perform copies, or things like that.

    This approach has its limitations, but it's pretty efficient -- and safe!

    Someone wrote a nice blog post about (and even a video) it a while back: https://blog.golioth.io/how-to-parse-json-data-in-zephyr/

    The opposite is true, too -- you can use the same descriptor to serialize a struct back to JSON.

    I've been maintaining it outside Zephyr for a while, although with different constraints (I'm not using it for an embedded system where memory is golden): https://github.com/lpereira/lwan/blob/master/src/samples/tec...

  • Implementing a Forth
    6 projects | news.ycombinator.com | 3 Jun 2025
    I recently implemented a Forth, compatible with the Forth Haiku dialect used by https://forthsalon.appspot.com/ -- it uses a tail call/continuation-passing dispatching method, and performs some rudimentary optimizations. At some point it also spit out some C but I decided to give this feature the axe until it has a better infrastructure for optimizations and codegen.

    The idea is to use it to drive an LED matrix and have a simple web UI to develop "fragment shaders" in Forth. It's developed as part of the Lwan project, although currently it generates GIF files on the fly rather than drive a LED matrix.

    The source code is here for those that want to play with it: https://github.com/lpereira/lwan/tree/master/src/samples/for...

  • Fast Linked Lists
    4 projects | news.ycombinator.com | 14 May 2024
    This is roughly what my JSON parser does. It does type-checking, albeit without using JSON-schema, but an object descriptor that you have to define to parse and generate JSON.

    It's been developed for embedded systems (it was written originally for a NATS implementation in the Zephyr RTOS), so it's a bit limited and there's no easy way to know where some parsing/type validation error happened, but the information is there if one wants to obtain it: https://github.com/lpereira/lwan/blob/master/src/samples/tec...

  • Show HN: Nano-web, a low latency one binary webserver designed for serving SPAs
    8 projects | news.ycombinator.com | 25 Mar 2024
  • Show HN: Host a Website in the URL
    5 projects | news.ycombinator.com | 6 Sep 2023
    Absolutely useless fun tech demos are the best kind of demos

    https://github.com/lpereira/lwan - presume this is the web server library you're referring to? Very cool.

  • Ask HN: Those making $0/month or less on side projects – Show and tell
    95 projects | news.ycombinator.com | 27 Jan 2023
  • Idea for a long-term advanced C project
    2 projects | /r/C_Programming | 2 Jul 2022
    I think a web-application based on https://github.com/lpereira/lwan and https://github.com/SanderMertens/flecs would be interesting. It would probably be faster than any other web-application out there. https://www.techempower.com/benchmarks/#section=data-r10&hw=ph&test=json.
  • Performance of coroutine-style lexers in Go
    1 project | news.ycombinator.com | 7 Jun 2022
    You don't have to use a channel for coordination. Here is a lexer implementation (in C!) that very closely follows Rob Pike's talk and uses a ring buffer for coordination and is plenty fast.

    https://github.com/lpereira/lwan/blob/master/src/lib/lwan-te...

    If you watch the talk carefully, Rob Pike himself mentions this near the end of the talk.

  • Good C Source Code
    12 projects | /r/C_Programming | 6 Jan 2022
  • C Deep
    80 projects | dev.to | 27 Feb 2021
    lwan - Experimental, scalable, high-performance HTTP server. GPL-2.0-only
  • A note from our sponsor - SaaSHub
    www.saashub.com | 8 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic lwan repo stats
10
6,043
9.5
2 days ago

lpereira/lwan is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of lwan is C.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com