News for hackers. Stuff that matters.
Re:Rust and Go by hammerandtongs on Friday November 07, 2014 @07:50PM (#8575521)
Aside from your specific point (which I liked), isn't there a kind of tension here in a systems language?

For loops are almost always going to explicitly show their allocations whereas the functional version has allocations that are not nearly as obvious.

Re:Rust and Go by pcwalton on Friday November 07, 2014 @07:59PM (#8575560)
None of the iterators in the Rust core library allocate. (In fact, they can't, since the Rust core library has no allocation—it's the building block for liballoc.)