• 8 Posts
  • 1.11K Comments
Joined 2 years ago
cake
Cake day: January 16th, 2024

help-circle



  • I wonder what actual experts in compilers think of this.

    Anthropic doesn’t pay me and I’m not going to look over their pile of garbage for free, but just looking at the structure and READMEs it looks like a reasonable submission for an advanced student in a compiler’s course: lowering to IR, SSA representation, dominators, phi elimination, some passes like strength reduction. The register allocator is very bad though, I’d expect at least something based on colouring.

    The READMEs are also really annoying to read. They are overlong and they don’t really explain what is going on in the module. There’s no high-level overview of the architecture of the compiler. A lot of it is just redundant. Like, what is this:

    Ye dude, of course it doesn’t depend on the IR, because this is before IR is constructed. Are you just pretending to know how a compiler works? Wait, right, you are, you’re a bot. The last sentence is also hilarious, my brother in christ, what, why is this in the README.

    Now this evaluation only makes sense if the compiler actually works - which it doesn’t. Looking at the filed issues there are glaring disqualifying problems (#177, #172, #171, #167, etc. etc. etc.). Like, those are not “oops, forgot something”, those are “the code responsible for this is broken”. Some of them look truly baffling, like how do you manage to get so many issues of the type “silently does something unexpected on error” when the code is IN RUST, which is explicitly designed to make those errors as hard as possible? Like I’m sorry, but the ones below? These are just “you did not even attempt to fulfill the assignment”.

    It’s also not tested, it has no integration tests (even though the README says it does), which is plain unacceptable. And the unit tests that are there fail so lol, lmao.

    It’s worse than existing industry compilers and it doesn’t offer anything interesting in terms of the implementation. If you’re introducing your own IR and passes you have to have a good enough reason to not just target LLVM. Cranelift is… not great, but they at least have interesting design choices and offer quick unoptimized compilation. This? The only reason you’d write this is you were indeed a student learning compilers, in which case it’d be a very good experience. You’d probably learn why testing is important for the rest of your life at least.






  • So we don’t have smoking gun evidence that Windows 11 is broken trash literally because of vibe coding. But Windows 11 feels like the most vibe coded thing ever. Nobody cared about Windows 11 working. Microsoft, where quality is job number 55 or so!

    I think the timelines don’t quite match for that, when Windows 11 came out the LLMs couldn’t even output code that compiled more than half the time. However, the moment I’ve learnt the start menu was coded in React I knew the age of man Windows was over. I don’t know how good the guy behind it was in internal politics but everyone on the path from the idea to pushing it to main should be tried for treason and sent to hard labour (debugging the Azure web UI).

    I think this was the good old artisinal vibe coding of the previous era, where you still had to not care about quality manually.






  • V0ldek@awful.systemstoButtcoin@awful.systems17 years*
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Well, Satoshi’s whitepaper is called “Bitcoin: A Peer-to-Peer Electronic Cash System”, so it’s pretty obvious what the author(s) consider(s) its main contribution to be. Arguably, the concept of a blockchain wasn’t invented by Satoshi (the idea of a ledger using Merkle trees of hashes existed before), neither was proof-of-work (the idea of requiring computation as a cost of performing an action also existed, e.g. to prevent email spam). The novelty was combining all that to create a currency system and the implementation. And the motivation spilling throughout the paper is very much libertarian and goldbuggy.