lpereira/lwan
View on GitHub ↗ ★ 6,044 C
Experimental, scalable, high performance HTTP server
12 mentions on Hacker News by 7 people: 2 stories, 10 comments · first 2012-03-20 · latest 2025-10-11
20082026
-
…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...
comment by acidx · 2025-10-11 · in Love C, hate C: Web framework memory problems -
…is not a good replacement either! It's better to use strtol() instead. Either do what Lwan does ( https://github.com/lpereira/lwan/blob/master/src/lib/lwan-co... ), or look ( https://cvsweb.openbsd.org/src/lib/libc/stdlib/strtonum.c?re...…
comment by acidx · 2025-10-11 · in Love C, hate C: Web framework memory problems -
…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...
comment by acidx · 2025-06-03 · in Implementing a Forth -
…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...
comment by acidx · 2024-05-14 · in Fast linked lists -
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.
comment by chrisvxd · 2023-09-07 · in Show HN: Host a Website in the URL -
…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…
comment by alex_smart · 2022-06-07 · in Performance of coroutine-style lexers in Go -
…you can try to push the boundary with those things, SPDK, aggressive polling, fast router...? [0]: https://github.com/lpereira/lwan [1]: https://github.com/KwangIO/kwang [2]: https://github.com/scylladb/seastar
comment by quangio · 2018-12-17 · in Show HN: LEAR – A simple and fast HTTP server to serve static resources -
…//tia.mat.br/posts/2018/02/01/more_on_string_switch_in... It allows you to write something like this: https://github.com/lpereira/lwan/blob/master/src/lib/lwan-ti... -- which is generated as a binary search by GCC.
comment by acidx · 2018-09-14 · in Cttrie – Compile-time trie-based string matching for C++ -
How does it compare to lwan? https://github.com/lpereira/lwan
comment by anonfunction · 2015-05-19 · in H2O – an optimized HTTP server with support for HTTP/1.x and HTTP/2 -
…there's a ~4x performance drop while serving files, but I'm working on this. (The sources are at http://github.com/lpereira/lwan by the way.)
comment by acidx · 2012-03-20 · in 500,000 Requests/Sec – Modern HTTP Servers Are Fast