Remix.run Logo
queoahfh 3 hours ago

I am concerned about the quality. Even a cursory skim of the code makes the code appear asinine. Unless the genius aspects of the code elude me.

https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...

https://github.com/malisper/pgrust/blob/3646a73515a5e4ac7d0b...

mataamad an hour ago | parent | next [-]

This is a (slightly more typesafe) transliteration of the C code.

https://github.com/postgres/postgres/blob/2e6578292a9184dcaa...

mechazawa 2 hours ago | parent | prev [-]

Yeah same. The structure makes no real sense and when digging into the code it reads like I'm the first human to look at it.

0x000xca0xfe 43 minutes ago | parent | next [-]

I'm too young but I imagine assembly programmers were feeling the same when automatic code generation by compilers took over. Very weird.

thewhitetulip 2 hours ago | parent | prev [-]

That's how Ai generated code is. I am almost convinced that Models are intentionally taught to write obtuse code because AI companies don't want us to write code at all