It hasn’t picked up enough popularity to have enough software written with which, in turn, so there isn’t much material to train AI with. As opposed to other strongly-typed languages. This is why Rust is so popular with all new stuff.<p>It’s a fairly common opinion that no new language designed for humans will ever get popular and Zig is that language that hasn’t even matured fully compared to other ones.
So a language has to be able to be used well by AI to not be doomed? Then I would argue there are a lot of doomed languages out there. Honestly, I have moved back to caveman era for my coding. I want to learn and write it myself. I don't want to be in the industry if all I do is prompt, and verify output. Could an AI create something fast for me? Sure, but where is the fun in just constantly putting out stuff that may or may not be useful to anyone including myself by just prompting an LLM and then surfing the internet until it is done? To me this perfectly encapsulates why I have pivoted to Zig. They are about learning, and improving as a programmer and person. I could feel my ability to critically think, and find answers myself slipping away at my last job (basically a prompt factory). It was not what I liked. It hurt all parts of my life not just coding. So to me there will be lots of people like that and will pick up Zig due to their stance on AI/LLMs. Will it ever be the go to for all sorts of companies? Probably not, but I don't think it was on that track before all this AI factory stuff started anyway.
> They are about learning, and improving as a programmer and person.<p>Couldn't agree more. I've been thinking for a while that I want to make my own lispy programming language, so I took it one step further and bought an ARM assembly book which I have to learn before I can write the language in assembly.<p>An LLM could bang out a lisp in less than a minute, but I know that looking back and having my own story, overcoming obstacles using my brain, and knowing that a project is "mine" is so critical to being human, in my opinion.
I don't think this is a big issue anymore. I've written totally new languages, from scratch, with LLMs. I then write programs using those languages and LLMs can do so just fine, they do surprisingly well at picking things up and in-context learning them. Unless your languages is extremely different I just don't think it'll be an issue.
Not sure what you're talking about, I'm currently writing a fairly sophisticated parser with C ABI in zig with LLM assistance. No issues with LLMs at all. On latest zig version + gemini neon.<p>But on the maturity side I kinda agree. I think the zig core team is small which worries me a bit and not sure what would happen to zig if Andrew disappeared one day.
A huge part of the programming, computing, and electronics ecosystems exist purely for The Love of The Game™.<p>As another example, knitting used to be something done by a pretty large percentage of people. Now it's done by a tiny fraction. But I'll bet you anything, that the overall quality and diversity of their ecosystem (tools, knowledge of techniques, books, consumables, etc.) has massively improved compared with a hundred years ago.
What you tend to find in clothing patterns and the like is that they’re more obviously designed for beginners with fewer skills, generally with more explicit instructions for things like seam allowance, seam selection, or pattern segment mirroring. Old patterns expected that seamstresses already knew about the limitations of their own material choice or design because there was stronger tacit knowledge in the user base. I'd expect that this led to more creative expression within the medium at the small scale, with a higher level of technical skill for a larger number of people.<p>I don't think you can call the modern ecosystem 'improved', necessarily, it's just that the tools (specifically knowledge-based tools or documentation) have been altered to the standard of the specific technology’s audiences. There are certainly areas of fashion education or industry now with much more technical and creative output, and also online tutorials covering techniques not previously available, but crucially the distribution of deep skill has changed dramatically.<p>It seems relevant to LLMs, at least, that the specific production methods used have odd effects on the mass and distribution of skill throughout a set of technology users, and it's not necessarily a positive change overall.
That makes it popular in my books. The world needs something that isn't yet another AI oriented technology. People need to remember that what is popular to them within their own echo sphere doesn't naturally extend to all of humanity.
> It hasn’t picked up enough popularity to have enough software written with which, in turn, so there isn’t much material to train AI with.<p>No. AI can one-shot all sorts of inferences. For an unpopular language to be effective with AI, it has to be well designed and <i>not have any footguns</i>.
I think it's less about popularity (LLMs seem to do fine even with more obscure languages than Zig) and more that Zig's syntax, standard library, etc. is much more of a moving target than Rust's currently is. Rust's compile-time checks are also stricter than Zig's, which helps narrow the scope of hallucinations (though I think Zig's compile-time checks are strict enough for that in practice, once the language+stdlib stabilizes enough to not utterly confuse any LLM trying to extrude Zig code based on training data).
> It hasn’t picked up enough popularity to have enough software written with which, in turn, so there isn’t much material to train AI with. As opposed to other strongly-typed languages. This is why Rust is so popular with all new stuff.<p>Frantic handwaving, none of which is a reason why Zig is "doomed". The main problem for AI with Zig is that it is in flux and so AI can base its responses on obsolete information, but this can usually be dealt with by careful prompting.<p>> It’s a fairly common opinion that no new language designed for humans will ever get popular<p>The contrary opinion is also common -- what you seem to be arguing is that your opinion is common and therefore right. But new languages are proliferating at a rapid pace with the help of AI. It's a new world and it's too soon to reach firm conclusions like "X is doomed".<p>In any case, Zig is 10 years old and is already quite popular. You started with a ridiculous loaded question -- really an assertion -- that Zig is doomed. You also asked why ("how so") Zig not being tainted by AI is a feature and got huffy when someone asked "how not". <i>Obviously</i> it's a feature for people who are anti-AI or at least want the option to avoid it. And that could also <i>obviously</i> be a reason for it not to be doomed "given the popularity of Rust with AI projects".<p>And it's important to note that this whole thing is off-topic trolling. The article is about improved floating point handling, not idiotic nonsense about whether Zig is "doomed".
> so there isn’t much material to train AI with<p>Presence of a lot of example code in the training data doesn't seem to matter as much as in the olden days. Zig works just fine as LLM target, and so do other 'niche' programming languages.<p>That Rust is particulary well suited for LLM code generation seems to be mainly a popular opinion in the Rust community as coping mechanism for the fact that language choice really doesn't matter much anymore and their precious Rust language as is good as any when the code is written by LLMs ;P
> there isn’t much material to train AI with<p>I obviously haven't seen with my own eyes how much Zig the frontier was exposed to, but Zig + agents isn't painful at all.<p>> have enough software written with<p>Ghostty, no? The community is using AI too.<p>IMMO, Zig is mature enough.
Key word: opinion
I imagine LLMs could help to not only create synthetic codebases but whole simulated agent communities to make Zig (or any other programming language) first class.