Zig gets improved float parser/formatter (codeberg.org)

67 points by Retro_Dev 2 hours ago

mitchellh 16 minutes 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

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

jeffbee 40 minutes 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.

paaloeye 34 minutes ago

karlmcguire 28 minutes 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

cromka 3 minutes 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?

OneManHorde 31 minutes 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.