E.g. closures are invoked statically and inlineable, iterators allow you to avoid guards in loops.
-
-
Replying to @tomdale
"In Ruby, your intuition is that things have an allocation cost. In Rust, your intuition should be that things don't have allocation cost."
2 replies 6 retweets 5 likes -
Replying to @slightlylate
@slightlylate@tolmasky@tomdale rust uses jemalloc now, which is pretty useful for Rust's allocation patterns.1 reply 0 retweets 0 likes
@slightlylate @tolmasky @tomdale perhaps more surprisingly, stack allocation is the 90%+ case and is the best you can do.
3:22 AM - 2 Sep 2015
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.