News for hackers. Stuff that matters.
Re:UTF-8 Everywhere (2012) by johncolanduoni on Monday June 20, 2016 @02:10AM (#11936331)
Makes a lot of sense. I get frustrated with how explicit I have to be with Rust sometimes (currently I'm writing something with a lot of reusable, immutable structures and am put off by how much Rc.clone() that requires) but making it known to the programmer that every indexing of a String is effectively an iteration is a good call.
Re:UTF-8 Everywhere (2012) by bluejekyll on Monday June 20, 2016 @10:58AM (#11938429)
Yeah, this is a tough thing when coming from other languages.

I've been using references pretty effectively to get around some issues like this, though in other cases Rc is my only resort.

If you have some code up on github, I'd be happy to take a look and see if there's some other options that are less cumbersome.