Hi everyone,
I hope you’re all having a great day.
I am currently in the process of transitioning my perspective from Go (Golang) to Zig, and I am deeply impressed by Zig’s philosophy on memory management and explicit control. To help me better understand the language, I am looking for a simple REST API documentation or source code implementation (Read & Create) using pure Zig without any third-party libraries.
I am particularly interested in seeing how the community handles data persistence in a ‘Zig-way’, whether it’s:
-
In-Memory (storing data directly in RAM using Allocators).
-
Embedded Database (using SQLite).
-
External Database (such as PostgreSQL).
My main goal is to study the technical nuances of Zig’s std.http and compare the performance and developer experience with the standard net/http package in Go.
If anyone could share a minimalist snippet, a GitHub repository, or a guide that is compatible with the latest Zig 0.16/17.0-dev, I would be immensely grateful.
Thank you so much for your kindness and for any assistance you can provide!