←back to thread

135 points barddoo | 6 comments | | HN request time: 0s | source | bottom

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 #
1. WD-42 ◴[] No.45308389[source]
I will never place emojis in any of my readmes ever again.
replies(2): >>45308404 #>>45308424 #
2. 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)

3. tayo42 ◴[] No.45308424[source]
People were doing this before llms, otherwise how did they learn it?
replies(2): >>45308486 #>>45308701 #
4. WD-42 ◴[] No.45308486[source]
Sure, but llms absolutely love to do it for some reason.
replies(1): >>45308842 #
5. adastra22 ◴[] No.45308701[source]
That's why he said "never again"
6. tayo42 ◴[] No.45308842{3}[source]
I just took a look at a Readme I had cursor write a couple months ago and there's no emojis