• brucethemoose@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    arrow-down
    1
    ·
    edit-2
    1 day ago

    …The same Zig that ditched LLVM, to make their own compiler from scratch?

    This is good. But also, this is sort of in character for Zig.

    • TriangleSpecialist@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 hours ago

      IIRC, the difference here is that Zig’s plan had always been to make their own compiler, but had to use LLVM to get started and, more cynically, to try and get some LLVM contributors interested in the project so they could essentially poach them.

      I am pretty sure I have seen a video interview of Andrew Kelley transparently saying that ages ago but I’ll try and find it to link it here.

      • brucethemoose@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 hours ago

        That’s interesting.

        I dunno if that’s any better. Compiler development is hard, and expensive.

        I dunno what issue they have with LLVM, but it would have to be massive to justify building around it and then switching away to re-invent it.

      • Echo Dot@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        3 hours ago

        I’ve never even heard of Zig before today and it’s right out of the gate with drama, cat fights, and public spats. Got to love the programming world.

        • biggeoff@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 hours ago

          Tbh zig is as chill as an iceberg compared to rust! I really appreciate the mindset of “c with rough edges removed” that zig promotes. Already using it in our companies stm32 projects

        • TriangleSpecialist@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 hours ago

          Oh I did not mean to appear combative or being a contrarian. I don’t even care about Zig or LLVM to be honest. I just thought that that clarification was sort of necessary seeing as the GitHub thing is a reaction to MS bullshit, whereas the LLVM thing at least seemed to me like it wasn’t (initially) from some drama or a secret or anything.

          Still, this is assuming I’m not just hallucinating what I am claiming.