• snaggenOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Because of ownership you’re forced into certain hierarchies, which make the code ugly and hard to read.

    For non-gc languages you always have ownership, in most languages you just have to keep track of it manually. And whenever the rust compiler gives an error, you would most likely have had a future issue in another language. For gc languages, this may still exist if you share data between threads, causing possilbe race conditions and data corruption. So, the ownership/borrow model is just a formalization of implicit rules that exists in most languages.