acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

zeroeight/tiny-http

Public
Star9

An HTTP/1.0 server for Linux in x86-64 assembly. No libc; every build starts it and curls it.

History
11 lines·290 B·Markdown Source Raw Blame
1# tiny-http
2
3An HTTP server for Linux, written in x86-64 assembly with no libc.
4
5Right now it listens on port 8080 and answers every connection with `hello from tiny-http`.
6
7```sh
8nasm -f elf64 -o build/server.o src/server.asm
9ld.lld -o build/tiny-http build/server.o
10./build/tiny-http
11```