TWiR quote of the week

From GitHub - brson/httptest: An example of a Rust web service with Iron and Hyper

I first try let payload = request.body.read_to_string(); because I know it used to work.

It does not work.

2 Likes
23:37 < geofft> time flies when you're having fn()
7 Likes

mbrubeck 12:04 AM: "Rust: A minute to learn, a lifetime to master."

17 Likes

Not funny, just on point.

< Ms2ger> And note, unsafe code isn't for violating Rust's invariants, it's for maintaining them manually

#rust irc.

17 Likes

Awesome quotes this week. Thanks everybody!

Ultimately, I think this all boils down to the fact that borrowck only cares about reachable
values. A leaked value isn't reachable, therefore it doesn't matter
that it had a lifetime associated with it and technically outlives that
lifetime, since it's not reachable no undefined behavior can be invoked.

Great insight by kballard on the safety of leaking

3 Likes

A simple bit of humour from Huon:

This is exactly like writing let left = &mut self.left; inside the match arm, but it has the useful advantage of working.

6 Likes

Woo! The twir train keeps rolling!

16:28 < tmerr1> macros... why does it feel so good... so good to be bad

#rust (botbot wasn't around at the time)

2 Likes

I cannot claim that I understand the algorithms 100%, but I have
reviewed all the papers and satisfied myself that this implementation is
a good match for them, and that the goals of the papers are a match for
what we want in Rust.

-- https://github.com/rust-lang/rust/pull/24612#issuecomment-100443028

2 Likes
<huon> why is there a moon crashing into the subreddit?
<bstrie> god help us all

You are right that process sandboxing is not as important for Servo, but it is important: 1) more defenses are more better

Brian on HN.

@steveklabnik so if i follow you already, can i just unfollow @rustlang :stuck_out_tongue:

-- https://twitter.com/ben0x539/status/598595519569625088

22:14 <&brson> frankmcs_: problem to me is it doesn't show anything that's unique to rust  
22:15 < frankmcs_> brson: well. you could have a bunch of lifetime error messages? :)
9 Likes

For any confused persons, this was in the context of what should be the frontpage example for rust-lang.org that would best show off what was new and unique about Rust.

1 Like

Rust is a systems language. I’m not sure what that term means, but it
seems to imply some combination of native code compilation, not being
Fortran, and making no mention of category theory in the documentation.

Found on Evan Miller’s blog.

26 Likes

Yes, because laundry eating has evolved to be a specific design goal now; and the initial portions of the planned laundry eating API have been landed behind the #![feature(no_laundry)] gate. no_laundry should become stable in 6-8 weeks, though the more complicated portions, including DRY cleaning, Higher Kinded T-shirts, Opt-in Builtin Detergent, and Rinse Time Optimization will not be stabilized until much later.
We hope this benefits the Laundry as a Service community immensely.

This lovely quote by Manishearth was found on /r/rust: Reddit - Dive into anything

9 Likes
<aturon> laundry is no longer being eaten, folks!
1 Like

kibwen on Hacker News

I would like to take this opportunity to formally apologize to the HN community for that time back in early 2012 when I predicted that Rust 1.0 would be released "in about six months or so", and later proceeded to proudly proclaim that 0.4 would be the last release with major breaking changes to the syntax. I hope you all can find it in your hearts to forgive me. :slight_smile: But at long last, we did it, and it's almost too good to believe.

But as much work as it's been just to get to this point, the real struggle begins today. Months and years of brutal campaigning, compiler engineering, and careful language design lie ahead. If you've yet to take a look at Rust, please do, and report your findings so that we can better prioritize our efforts for the near future. If you like what you see, there's plenty of work to go around and a welcoming community should you decide to dig in and join us. And if you don't like what you see, that's fine too; Rust is not the language to end all languages! We're just here to make the world a little safer, however we can. Hopefully today is but the first page in that story. :slight_smile:

Look at it this way: You beat Perl 6 to market. :slight_smile:

bliti, https://news.ycombinator.com/item?id=9551937

6 Likes
00:05 < desophos> so i just read chapter 3 of the rust book (Learn Rust) and it felt like this: http://i0.kym-cdn.com/photos/images/original/000/572/078/d6d.jpg
00:06 < FallingAlways> borrow the owl

From #rust

7 Likes