News for hackers. Stuff that matters.
Re:If AI writes your code, why use Python? by mountainriver on Monday May 11, 2026 @10:14PM (#48103396)
Why? Go has a GC, is basically incompatible with C and very limited overall
Re:If AI writes your code, why use Python? by Alejandro2026 on Monday May 11, 2026 @10:24PM (#48103478)
Go's limited syntax is actually a feature here,because it stops the LLM from trying to be too clever
Re:If AI writes your code, why use Python? by spongebobstoes on Monday May 11, 2026 @11:47PM (#48103984)
LLMs use `any` types, `recover`, `init`, and other weird warts of golang

rust is a better language in every way for LLMs: more precise typing, better compiler errors, fewer performance footguns, no race conditions, clear interface definitions and implementations

golang is easier for humans to quickly get productive, but the language is lacking in helpful features for an LLM

Re:If AI writes your code, why use Python? by badc0ffee on Tuesday May 12, 2026 @12:33AM (#48104202)
CGO exists.
Re:If AI writes your code, why use Python? by mountainriver on Tuesday May 12, 2026 @11:02AM (#48109376)
uh huh, how's the trampoline working out?
Re:If AI writes your code, why use Python? by baq on Tuesday May 12, 2026 @05:22AM (#48105988)
'incompatible with C' isn't a serious problem nowadays and won't be a problem at all in a couple years.
Re:If AI writes your code, why use Python? by mountainriver on Tuesday May 12, 2026 @11:15AM (#48109560)
or the language was fundamentally designed to make mid level engineers more productive...