Zig gets improved float parser/formatter

(codeberg.org)

76 points | by Retro_Dev 2 hours ago ago

10 comments

  • mitchellh 31 minutes ago 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/

  • mi_lk an hour ago ago

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

    • jeffbee an hour ago 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.

  • karlmcguire 43 minutes ago ago

    Russ Cox inspired me 10+ years ago to get into programming (and Go). I'm glad he's still making breakthroughs. If you haven't already, check out his tour of the Acme editor:

    https://www.youtube.com/watch?v=dP1xVpMPn8M

  • paaloeye an hour ago ago
  • OneManHorde an hour ago 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 18 minutes ago 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?

    • paaloeye 9 minutes ago ago

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

    • aurareturn 10 minutes ago 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.

    • KneeAwn 3 minutes ago ago

      Doomed in what sense?