Opening a vortex to Hell is actually safe, but de-referencing anything you pull from the vortex isn't safe.
Steve Klabnik in rust-lang/rfcs
Opening a vortex to Hell is actually safe, but de-referencing anything you pull from the vortex isn't safe.
Steve Klabnik in rust-lang/rfcs
I am totally going to use this the next time someone asks me about unsafe
at a talk
<filsmick> I am questioning my sanity at the moment
<Manishearth> filsmick: if you are not questioning your sanity 24/7 you are not Rusting enough
Source: #rust
this code made my brain goes out of the scope.
And this, kids, is why you should own, not borrow your brain.
May I nominate the above for quite of the week?
How about one describing the average quality of Rust PRs?
It is intended to be absolutely positively completely 100% accurate. To the best of my knowledge, it achieves that goal completely.
— rkruppe in https://github.com/rust-lang/rust/pull/27307
Wish I could nominate @Gankra's entire Linked List article series (book? it's getting there) for quote of the week, but if I had to pick one piece, I'd go with:
It should be noted that the authentic Rust learning experience involves
writing code, having the compiler scream at you, and trying to figure out
what the heck that means. I will be carefully ensuring that this occurs as
frequently as possible.
hoverbear | Cow.
Quxxy | hoverbear: Is that my Cow<'a, str>? It goes "lifetime does not live long enough". That's not my Cow<'a, str>!
<jaapz> Should I try to get into C before learning some more Rust?
<jaapz> Wouldn't i "get" rust better when I know which problems it tries to solve from a C perspective?
<kimundi> Would you start learning skateboarding without protective gear to know how painful it is when you fall?
From Reddit - Dive into anything by sigma914:
Rust has ruined C++ for me, Haskell has ruined Java/C# etc, and Lisp has ruined python/perl/ruby... I end up sitting there going "The compiler should be telling me this is safe!" or "God damnit I need a macro!" all day...
Thanks for the quotes again clever people!
<bluss> I've tried using unchecked indexing in non-trivial code now a couple of times. It never makes a big difference <bluss> Profiling shows like 1-2% improvement if that <bluss> so it's the tightest loops you should worry about, not much more
Because I want to grab that qotw pulpit to spread my dogma.
I don't know if that belongs here though.
<blue_deref> well, the thing is, you either understand it, or it /doesn't/ work
<blue_deref> so, yes, it always works the way you think it does
<blue_deref> The borrow checker will learn you much
I need a personal Gankro to cheer me up while I wait for rustc to compile.
Don't we all need our personal Gankro every now and then?
Sorry, but the Rust standard library doesn't provide crystal balls.
-- birkenfeld on rust-lang users
15:56 < tswett> Man. If I ever use Rust in an environment where a heap *is*
available, it's going to feel so luxurious.
I feel like some of these are not necessarily positive... i mean steves quote is about how much Rust sucks without the std-lib, and @llogiq's is about how the community cant read minds, and the one before that is about how dreadful Rustc is to compile.... not terrible quotes, but probably not what we want to put out in the public....?
Yes it is fun to jab about some of the pain points of Rust, but maybe not as the 'quote of the week'