upvote
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.

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.

reply
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.
reply
> They are about learning, and improving as a programmer and person.

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.

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.

reply
A huge part of the programming, computing, and electronics ecosystems exist purely for The Love of The Game™.

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.

reply
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.
reply
> there isn’t much material to train AI with

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.

> have enough software written with

Ghostty, no? The community is using AI too.

IMMO, Zig is mature enough.

reply
> so there isn’t much material to train AI with

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.

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

reply
Key word: opinion
reply