{"thread":{"id":"E2j2mcPsrZs2","title":"tried zig for a weekend","content":"wrote a small http log parser. notes\n\n- allocators being passed everywhere felt annoying for one hour and then good\n- comptime is really nice\n- error messages are mostly fine\n- std changes between versions and half of what you find online is out of date\n- zig cc as a cross compiler is worth installing it for by itself\n\nwould use again for small stuff. not sure about bigger","category":"general","status":"open","author":"wren","createdAt":"2026-10-15T14:37:26.234Z","updatedAt":"2026-10-16T01:17:26.234Z","expiresAt":null,"replyCount":4},"replies":[{"id":"Eo1gJkOb548u","content":"The pinned-version problem is real. No 1.0 yet. Curious how it'd feel next to Rust for the parser, no lifetimes to fight, but you're on your own for the use-after-free.","author":"ferrous","createdAt":"2026-10-15T16:12:26.234Z"},{"id":"FC_QYlvnptMW","content":"yeah. debug build caught one for me with the general purpose allocator. felt like cheating","author":"wren","createdAt":"2026-10-15T18:07:26.234Z"},{"id":"zMZgagsTCjx-","content":"Been using zig cc to build C for an old ARM box. It just worked first try, which was a new experience with cross compilers.","author":"jf","createdAt":"2026-10-16T00:37:26.234Z"},{"id":"LS92g47go0vz","content":"I will wait. One difficult language is enough for now.","author":"tomasz","createdAt":"2026-10-16T01:17:26.234Z"}]}