mitchellh 2 hours ago

Based on Russ Cox's work. I take every opportunity I get to implore people who care about computer science and/or software engineering to read everything Russ Cox writes anywhere and everywhere, but starting on his blog is good: https://research.swtch.com/

  • jjice 1 hour ago

    His writing on regular expressions and their engines is maybe the best resource for them I've ever found. He's such a wealth of knowledge and him publishing this on his site is an incredible resource of the rest of us.

mi_lk 3 hours ago

Call software development dead however you want. It just peaces my mind knowing there’re still people hand-crafting serious software engineering

  • jeffbee 3 hours ago

    Well, it was dead for a while. Nobody gave two poops about FP conversion for 20 years until Grisu, then there was a flood of improvements.

OneManHorde 2 hours ago

Crazy-better in particular for 128-bit floats! Nice.

The commentary on the change is nice as well; some good improvements being deferred to a later moment, as they introduce API changes, etc.

cromka 2 hours ago

Honest question: given the popularity of Rust with AI projects and how things have turned upside down in general, isn’t Zig doomed at this point?

  • aurareturn 2 hours ago

    I think Rust is going to be doomed soon too.

    Some programming language designed from the group up for agents would likely dominate in the future.

    • flykespice 1 hour ago

      what are such languages?

      • ForHackernews 1 hour ago

        Golang, arguably. It's built to be idiot-proof, unambiguous, and extremely verbose.

        • parlortricks 1 hour ago

          Id add Python is pretty great given how much content the LLMs consumed on it.

          • 80fj0348i 44 minutes ago

            With Python I am consistently running into problems with: 1. lack of type safety at runtime, especially across modules, and 2. poor primitives for concurrency. I get much better results in languages with strict static typing and native, broadly used concurrency tools.

        • rootlocus 18 minutes ago

          Golang is nice for some projects, but I don't see it become the lingua franca of LLM software development for a very simple reason: it doesn't squeeze all the performance it can, and doesn't go as close to the metal as possible.

          Every programming language is a tradeoff between performance, safety and programmer ergonomics. I trust LLMs will make this tradeoff obsolete, meaning we'll finally be able to ditch programmer ergonomics and some safety (testing can get better, tooling can get better, LLMs aren't as susceptible to footguns) and mostly ditck programmer ergonomics. This means we can finally write efficient software. And you won't implement highly performant software in a GC language.

  • paaloeye 2 hours ago

    Absolutely not. If anything, Zig not being tainted by AI is a feature.

  • KneeAwn 2 hours ago

    Doomed in what sense?

    • cromka 1 hour ago

      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.

      • wasabinator 1 hour ago

        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.

      • jjuel 1 hour ago

        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.

        • shoobiedoo 59 minutes ago

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

      • paaloeye 1 hour ago

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

      • flohofwoe 26 minutes ago

        > 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

      • Cordiali 2 minutes ago

        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.

  • geophph 1 hour ago

    Is success of a language binary? Surely there’s a middle ground between used everywhere and doomed.