← Back to context

Comment by insanitybit

7 hours ago

Rust's compile times will get faster long before Zig gets safer.

I'm pretty sure Zig has no plans to ever become safe - by any sane sense of the word - so, yes, I would expect...

  • zig does have plans to give access to IRs when stable so adding a borrow checker to zig will be even easier than it is now

    • This is cool and will likely enable some cool tooling.

      I don't think a borrow checker is likely to be in that tooling. Borrow checking requires shaping the code, and all the dependencies, into easily analyzable (and at least in rust's version annotated) patterns. You can't borrow check arbitrary code not designed for it without false positives.

      5 replies →