These are not bad things if you’re writing system code.
Is there ever a plan for GC?
There are garbage collection libraries in progress: rust-gc[1] and shifgrethor[2]. If you mean language support, then no, not really, though it was discussed in https://github.com/rust-lang/rfcs/issues/415
[1]: https://github.com/Manishearth/rust-gc [2]: https://github.com/withoutboats/shifgrethor
Re:Go is Google's language, not ours
by collinmanderson on Sunday May 26, 2019 @03:39PM
(#20016975)
I feel like not having a GC is rust’s biggest advantage over higher level languages. It allows rust to work in environments that only languages like C, C++ can work in. (Embedded, shared libraries, etc)
I more meant "GC for those who want it", as advanced GC with Edens and mark-sweep tenured generations can handle high-allocation and large-heap scenarios that are extremely challenging for simpler MM approaches. I don't know if this really can be done as a library though.
Yes, the borrow checker is a PITA vs. Go, but there are compensations.