4 ms·
It's a very different language than Golang though, very expressive, generics, no GC, etc.
by baby 7y ago
It's a very different language than Golang though, very expressive, generics, no GC, etc.
- ncmncm 7y agoYou say that like those are bad things. Yes, the borrow checker is a PITA vs. Go, but there are compensations.
- baby 7y agoThese are not bad things if you’re writing system code.
- spopejoy 7y agoIs there ever a plan for GC?
- remram 7y agoThere 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 https://github.com/rust-lang/rfcs/issues/415 [1]: https://github.com/Manishearth/rust-gc https://github.com/Manishearth/rust-gc [2]: https://github.com/withoutboats/shifgrethor https://github.com/withoutboats/shifgrethor
- collinmanderson 7y agoI 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)
- spopejoy 7y agoI 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.