Comment by ๐ stack
Re: "Introducing Fornax Gemini Server (work in progress)"
@ingrix, thank you. If you see any glaring holes or stupidities please let me know.
I may also retab it to 4 although personally prefer 2 (from years of Common Lisp). It calms me down.
2025-09-13 ยท 8 months ago
2 Later Comments โ
๐ Sparkingcircuit ยท 2025-09-13 at 19:26:
Looks good to me. Do keep in mind however that I am new to network code, and so may be completly wrong on this front. Nonetheless, it looks good in the eyes of another guy that writes in C as his prefered language.
๐ ingrix ยท 2025-09-16 at 18:19:
@stack I posted a pull request to tildegit for some minor file descriptor/initialization changes.
Original Post
Introducing Fornax Gemini Server (work in progress) โ Fornax is a working sketch for a minimal Gemini server. The project goal was to quickly create a minimal single-process single-thread server that is reasonably stable and can be easily understood and modified for specific needs. The server resides in a single file (about 500 lines of C) and compiles to about 23KB of code. At runtime it uses around 8MB RAM. It should be able to handle hundreds of simultaneous requests, and with minor tuning,...