News for hackers. Stuff that matters.
Re:State of Rust 0.11.0 by rsynnott on Wednesday July 16, 2014 @02:00PM (#8043462)
Swift does offer this, though in a slightly weird way; structs (and I think arrays) are stack-allocated, classes are heap-allocated. Swift structs are more featureful than, say, C++; they mostly behave like classes, but live on the stack and are passed by value.

There are no comments on this comment yet.