not_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-220 hours agoo(1) statistical prime approximationlemmy.blahaj.zoneimagemessage-square41linkfedilinkarrow-up1693arrow-down14file-text
arrow-up1689arrow-down1imageo(1) statistical prime approximationlemmy.blahaj.zonenot_IO@lemmy.blahaj.zone to Programmer Humor@programming.devEnglish · edit-220 hours agomessage-square41linkfedilinkfile-text
minus-squareFlipper@feddit.orglinkfedilinkarrow-up96·edit-216 hours 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-squarePlexSheep@infosec.publinkfedilinkarrow-up21·15 hours agoIf this wasn’t 100% vibe coded, it would be pretty cool. A c compiler written in rust, with a lot of basics supported, an automated test suite that compiles well known c projects. Sounds like a fun project or academic work.
minus-squarethe rizzler@lemmygrad.mllinkfedilinkarrow-up5·15 hours 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
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.
If this wasn’t 100% vibe coded, it would be pretty cool.
A c compiler written in rust, with a lot of basics supported, an automated test suite that compiles well known c projects. Sounds like a fun project or academic work.
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