• 3 Posts
  • 86 Comments
Joined 3 years ago
cake
Cake day: June 25th, 2023

help-circle

  • Those companies and firms back Rust because it’s memory safe without a garbage collector, and great for general purpose programming or systems programming. That’s super important for everyone, but especially large companies working on high performance or mission critical software.

    Zig is not memory safe so it’s a non-starter for these things, and has not proven itself in the industry anywhere near what Rust has.

    This has nothing to do with Rust being “corporate” or anything wrong with Rust.













  • I think you’re saying the same thing as what I am. If it’s more complex than what you may think, the language should guard against it. If not, it should make it simple.

    Rust, for example, is the only mainstream language where it isn’t possible to read from a file handle after it’s been closed. Doing so is a compilation failure. This is just a general invariant of “how to use files”.

    But you also don’t need to think about allocating or deallocating memory in Rust. It does that fke you automatically, even though it’s not GC.

    JS can also be complicated when it tries to hide realities about the world. E.g. is a const array or object immutable? No, the pointer is. But pointers don’t exist! /s