Through witchcraft and dark magic, Zig contains a C standard library and cross compiler for every architecture in 45 megabytes.

  • @[email protected]
    link
    fedilink
    91 year ago

    amazingly i read recently that zig wants to cut out llvm in the future, which is the reason it can compile c/c++

    • @[email protected]
      link
      fedilink
      61 year ago

      I read that as well and Andrew explained that although he wants to do that, it won’t happen immediately. There are large projects that rely on this feature and he asked for their input on this topic.

      Another thing is that proposed change is to remove clang from the zig distribution. It would still be possible to depend on a zig package that provides an interface to seamlessly compile with system clang.