| ▲ | allthetime 5 hours ago | |||||||||||||||||||||||||
Zig is a moving target. 0.15 -> 0.16 includes some massive structural changes concerning IO and async/threading. Claude has absolutely no idea what it's doing with bleeding edge zig unless you feed it source and guide it closely (in which case it's useful for focused work) - I'm building a game engine & tcp/udp servers with it and it requires a hands-on approach and actually understanding what's being built. I imagine these are not really concerns with rust at this point. In my ideal world the team behind bun would be putting in the work to keep up with modern zig, but it's starting to look like they are running mostly on vibes in which case rust might be a better choice. | ||||||||||||||||||||||||||
| ▲ | rudedogg 5 hours ago | parent | next [-] | |||||||||||||||||||||||||
> it requires a hands-on approach and actually understanding what's being built. I think this is true regardless of what language you’re using. I’ve built a lot in Zig and there’s no difference between vibing stuff in it versus TypeScript/React. Claude can “one-shot” them both, and will mimic existing code or grep the standard library to figure everything out. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | 10000truths 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
> unless you feed it source Which isn't particularly difficult - the language docs and std source come with the installation, so all you need to do is tell Claude where those directories are in your skill/plugin/CLAUDE.md. > and guide it closely (in which case it's useful for focused work) It does struggle sometimes with writing code that compiles and uses the APIs correctly. My approach to that so far has been to write test blocks describing the desired interface + semantics, and asking Claude to (`zig test` -> fix errors) in a loop until all the tests pass. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | 5 hours ago | parent | prev [-] | |||||||||||||||||||||||||
| [deleted] | ||||||||||||||||||||||||||