From bef2137bad63cafe9924a26ceac478e2f56dbecb Mon Sep 17 00:00:00 2001 From: Pat Whittingslow Date: Thu, 18 Jun 2026 10:08:49 -0300 Subject: [PATCH] add zero os docs (#126) * add zero os docs * mention scheduling --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 261c6d1..eaa14a3 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,14 @@ Userspace networking primitives. ## Features `lneto` provides the following features: +- Zero Operating System required. ***Zero***. All protocols (including TCP, excepting NTP) are time-independent. + - Explicit HAL needed. Lneto performs no `time.Sleep` nor `time.Now` calls unless configured by user. + - Zero scheduling required. No goroutines/channels use in Lneto. Can be run in event loop. - Heapless packet processing - [`httpraw`](https://github.com/soypat/lneto/tree/main/http/httpraw) is likely the most performant HTTP/1.1 processing package in the Go ecosystem. Based on [`fasthttp`](https://github.com/valyala/fasthttp) but simpler and more thoughtful memory use. - Lean memory footprint - HTTP header struct is 80 bytes with no runtime usage nor heap usage other than buffer - - Entire Ethernet+IPv4+UDP+DHCP+DNS+NTP stack in ~1kB. + - Entire Ethernet+IPv4+UDP+DHCP+DNS+NTP stack in ~2kB RAM. - Empty go.mod file. No dependencies except for basic standard library packages such as `bytes`, `errors`, `io`. - `net` only imported for `net.ErrClosed`. - Can produce **very** small binaries. Ideal for embedded systems.