14 15 May 2015 20:01 by u/rileyphone
The Rust language has changed quite a bit since a few years back. Didn't Rust have garbage collection only a few years back?
It never had proper garbage collection, only reference counting that was called Gc.
Gc
Fairly sure Rust did support pointers at one point with the @ symbol - there's an article on it here.
@
It was still reference counting, so not really anything different than Rc now
Rc
Rust supports pointers with the * symbol, but that's for C interop. I would still call @ a reference because you can't do pointer arithmetic with it.
5 comments
1 u/Quackmatic 17 May 2015 13:15
The Rust language has changed quite a bit since a few years back. Didn't Rust have garbage collection only a few years back?
0 u/iopq 25 May 2015 08:33
It never had proper garbage collection, only reference counting that was called
Gc.0 u/Quackmatic 15 Jun 2015 13:25
Fairly sure Rust did support pointers at one point with the
@symbol - there's an article on it here.0 u/iopq 18 Jun 2015 21:29
It was still reference counting, so not really anything different than
Rcnow0 u/iopq 05 Jul 2015 17:04
Rust supports pointers with the * symbol, but that's for C interop. I would still call @ a reference because you can't do pointer arithmetic with it.