Re:Go is Google's language, not ours
by ncmncm on Wednesday May 22, 2019 @02:53AM
(#19978508)
Rust has largely broken out of Mozilla already. If it can maintain its growth rate (not guaranteed, but so far so good) it will have a future. Check back in five years.
[ Parent
| on HN ]
It's a very different language than Golang though, very expressive, generics, no GC, etc.
You say that like those are bad things.
Yes, the borrow checker is a PITA vs. Go, but there are compensations.
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.