Will there be performance and security improvements?

  • PuppyOSAndCoffee@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    7
    ·
    11 months ago

    I would choose zig over rust; while zig isn’t as safe as rust (nor is that zig’s aim) zig also is also safer than C. Zig still has a bit to go.

    Also rust compile times … in the kernel … that might matter more?

      • PuppyOSAndCoffee@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        2
        ·
        11 months ago

        multi-arch compile that is getting faster by the release, sweeter & safer than C — it isn’t unsafe, mind you — why wouldn’t you pick zig for systems development? And it’s compiled bins sizzle!

        Plus, there is no C interop; C just plugs in.

        The grammar is still in the oven, but once it bakes, I predict zig takes over C as a perf layer in script pkgs (python, node, etc).

        Compile times are crisp but some foundational elements (incremental compile etc) will help it positively fly. Already it’s smoking rust however we expect more.

        The grammar is why it is one to watch.