4 ms·
Steve already told you that refcounting isn't reached for by default, and I wanted to share an anecdote to emphasize that. I've written a regex library, CSV pa
by burntsushi 12y ago
Steve already told you that refcounting isn't reached for by default, and I wanted to share an anecdote to emphasize that.
I've written a regex library, CSV parser, command line arg parser, elastic tabs and quickcheck in Rust. Behold:
$ find ./ -type f -name '*.rs' -print0 | xargs -0 grep Rc
$
I've definitely reached for it a few times as an escape hatch, but I've always ended up finding a cleaner approach to persist without it.
Of course, there are plenty of legitimate uses of refcounting. I just haven't hit them yet. :-)
- steveklabnik 12y agoYou're logged in as root? O_O :p :)
- burntsushi 12y agoHaha, no, I added that in after-the-copy-and-paste. :P Fixed nonetheless. Do'h.