Are there any programming languages with the same syntax as rust (or similar)?

  • sabin@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 年前

    I take it you’re not a fan of the borrow rules?

    Would you rather manage your memory yourself, or would you rather use a language with a runtime?

    Those are your only 2 remaining options for managing memory if you exclude rust-like reference constraints.

  • dblsaiko@discuss.tchncs.de
    link
    fedilink
    arrow-up
    1
    ·
    2 年前

    Swift is pretty close. I’ve been trying it out recently after writing years of Rust and it’s been great so far (and pretty much completely eliminates the big tooling complaints I have about Rust…).