about things
1# zig
2
3notes on [zig](https://ziglang.org/) patterns.
4
5## topics
6
7- [0.15](./0.15/) - version-specific patterns (i/o, arraylist, crypto, testing)
8- [0.16](./0.16/) - std.Io interface, async/concurrent (preview)
9- [build](./build/) - build system patterns from large projects
10
11## sources
12
13patterns derived from building and studying:
14
15| project | what it is |
16|---------|------------|
17| [music-atmosphere-feed](https://tangled.sh/@zzstoatzz.io/music-atmosphere-feed) | bluesky feed generator |
18| [find-bufo](https://tangled.sh/@zzstoatzz.io/find-bufo) | bluesky bot |
19| [leaflet-search](https://tangled.sh/@zzstoatzz.io/leaflet-search) | fts search backend |
20| [pollz](https://tangled.sh/@zzstoatzz.io/pollz) | bluesky polls (zqlite + transactions) |
21| [zql](https://tangled.sh/@zzstoatzz.io/zql) | comptime sql parsing |
22| [zat](https://tangled.sh/@zzstoatzz.io/zat) | atproto primitives (jwt, crypto, CBOR, firehose) |
23| [k256](https://tangled.sh/@zzstoatzz.io/k256) | optimized secp256k1 ECDSA (5×52-bit field, GLV endomorphism) |
24| [atproto-bench](https://tangled.sh/@zzstoatzz.io/atproto-bench) | three-way AT Protocol benchmarks (zig vs Go vs Rust) |
25| [logfire-zig](https://tangled.sh/@zzstoatzz.io/logfire-zig) | OTLP observability client |
26| [prefect-zig](https://tangled.sh/@zzstoatzz.io/prefect-zig) | prefect orchestration server |
27| [ghostty](https://github.com/ghostty-org/ghostty) | terminal emulator (build system) |
28| [bun](https://github.com/oven-sh/bun) | javascript runtime (build system) |
29
30## libraries
31
32- [websocket.zig](https://github.com/karlseguin/websocket.zig) - websocket client with tls
33- [zqlite.zig](https://github.com/karlseguin/zqlite.zig) - sqlite wrapper