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

  • sabin@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    3 days ago

    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.

  • 2xsaiko
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    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…).