not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 3 months agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square3linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · 3 months agomessage-square3linkfedilinkfile-text
minus-squareFlipper@feddit.orglinkfedilinkarrow-up1·edit-23 months agoHas the same vibes as anthropic creating a C compiler which passes 99% of compiler tests. That last percent is really important. At least that last percent are some really specific edge cases right? Description: When compiling the following code with CCC using -std=c23: bool is_even(int number) { return number % 2 == 0; } the compiler fails to compile due to bool, true, and false being unrecognized. The same code compiles correctly with GCC and Clang in C23 mode. Source Well fuck.
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up1·3 months agoany llm must have several C compilers in its training data, so it would be a reasonably competent almost-clone of gcc/clang/msvc anyway, right? is what i would have said if you didn’t put that last part
minus-squareCarrotsHaveEars@lemmy.mllinkfedilinkarrow-up1·3 months agoThis is so fucked up. The AI company has the perfect answer and yet it rolls the die to recreate the same thing by chance. What are they expecting, really?
Has the same vibes as anthropic creating a C compiler which passes 99% of compiler tests.
That last percent is really important. At least that last percent are some really specific edge cases right?
Source
Well fuck.
any llm must have several C compilers in its training data, so it would be a reasonably competent almost-clone of gcc/clang/msvc anyway, right?
is what i would have said if you didn’t put that last part
This is so fucked up. The AI company has the perfect answer and yet it rolls the die to recreate the same thing by chance. What are they expecting, really?