←back to thread

122 points barddoo | 1 comments | | HN request time: 0.204s | source

Writing Redis from scratch in Zig.
Show context
johnisgood ◴[] No.45308123[source]
Seems like LLMs are getting good at Zig (with some help, I presume).
replies(2): >>45308193 #>>45308553 #
mtlynch ◴[] No.45308193[source]
Is there anything about this project that seems LLM-generated?

I've found that LLMs are particularly bad at writing Zig because the language evolves quickly, so LLMs that are trained on Zig code from two years ago will write code that no longer compiles on modern Zig.

replies(4): >>45308296 #>>45308429 #>>45308798 #>>45311161 #
5- ◴[] No.45308296[source]
https://github.com/barddoo/zedis/blob/87321b04224b2e2e857b67...

these seem to occur only in college assignment projects, and in the output of text generators trained on those.

replies(2): >>45308389 #>>45308685 #
WD-42 ◴[] No.45308389[source]
I will never place emojis in any of my readmes ever again.
replies(2): >>45308404 #>>45308424 #
1. chucky_z ◴[] No.45308404[source]
spell out 'development' with hammer emojis. bring ascii art back as emoji art.

(i actually do this in slack messages and folks find it funny and annoying, but more funny)