|
|
|
|
|
by steveklabnik
1734 days ago
|
|
Yes, Rust kinda doesn't fit super cleanly into a very black/white binary here. It is automatic in the sense that you do not generally call malloc/free. The compiler handles this for you. At the same time, you have a lot more control than you do in a language with a GC, and so to some people, it feels more manual. It's also like, a perception thing in some sense. Imagine someone writes some code. They get a compiler error. There are two ways to react to this event: "Wow the compiler didn't make this work, I have to think about memory all the time." "Ah, the compiler caught a mistake for me. Thank goodness I don't have to think about this for myself." Both perceptions make sense, but seem to be in complete and total opposition. |
|
The Rust community has done laudable work in bringing down the cognitive threshold of "manual / compile-time" memory management, but I think we're finding out that the returns are diminishing quickly and there's still quite a chasm between borrow checking and GC with respect to developer velocity.