Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leandronsp/magali
A minimalist yet multi-threaded HTTP server coded in pure Assembly x86
https://github.com/leandronsp/magali
Last synced: 8 days ago
JSON representation
A minimalist yet multi-threaded HTTP server coded in pure Assembly x86
- Host: GitHub
- URL: https://github.com/leandronsp/magali
- Owner: leandronsp
- Created: 2024-03-26T03:56:43.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-26T04:03:42.000Z (8 months ago)
- Last Synced: 2024-08-01T21:41:27.861Z (4 months ago)
- Language: Assembly
- Size: 3.91 KB
- Stars: 25
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magali
A minimalist yet multi-threaded HTTP server coded in pure Assembly x86_64, designed to output a "Hello world" message in HTML format.
The server employs a pool of threads consuming connections from a queue that is synchronized using mutex in spinlock and futex for condition variable.
## Requirements
* Linux/AMD64 (tested in Ubuntu)
* NASM 2.15.05
* GNU ld 2.38```bash
$ nasm -f elf64 -o server.o server.asm
$ ld -o server server.o
$ ./serverListening on the port 3000
```---
A product of [Monica](https://gist.github.com/leandronsp/8b11d339613e5d7f37fa4e083d07efc3)