This is not from this week, rather almost 3 months old, but, as usual, I like it when key ideas are expressed in a concise way:
I don't believe we allow negative cost abstractions.
– bjorn3 on github:
In many cases, it is possible to completely rearchitect the underlying code while leaving the public API as-is, and without introducing new bugs. I've literally never had such a liberating experience with refactoring until Rust.
mate it's like when you and the lads are on discord givin em classic bants but you wanna bang out some code and you're thinkin gems or eggs but your mate Yehuda who's a LEDGE AND A HALF says nah mate let's grab some crates and get our borrows checked and you're like SORTED
it was a pleasure even to just watch source code compile
We take great pride in our long compile times for a reason
This viewpoint is very controversial, and I have no capacity to debate it with anyone who disagrees with me. But Rust has a very powerful macro system, so I don’t have to.
The reason why I think it makes sense to prioritize perf over everything except safety is that, if Rust is not the fastest high-level programming language, important systems will be implemented in a faster, unsafe language.
Saw this on Reddit (https://www.reddit.com/r/rust/comments/g04rq9/a_week_of_experiencing_rust/fn8rzy1?utm_source=share&utm_medium=web2x) from a new Rustacean on how they feel learning Rust:
I'm a snowboarder that's learning how to ski. I have no idea why I have this extra thing on my other foot or poles in my hands. Also, I keep falling. I know eventually it gets better.
I thought Steve's comment below was really inspiring and belies the "can do" attitude of the Rust project. Not sure how you'd capture it in a single quote though.
"You can't just call everything undefined behavior!"
"haha unsafe go brrr"
What's special about UB is that it attacks your ability to find bugs, like a disease that attacks the immune system. Undefined behavior can have arbitrary, non-local and even non-causal effects that undermine the deterministic nature of programs. That's intolerable, and that's why it's so important that safe Rust rules out undefined behavior even if there are still classes of bugs that it doesn't eliminate.
Not a Rust quote and I don't mean to bash on C++ but this made me chuckle:
"Whenever I program in C++ I feel like I'm building a sports car out of duct tape"
Ask Math Anything with Po-Shen Loh - 04/14 Tue
Vecs in Rust in general, are crazy fast; faster than I can replicate in C. Amazing.
I don't think our quote of the week should be something bashing another language. It should be something about Rust, or the Rust community.
I agree. Which is why I said "I don't mean to bash on C++ ".
It was just a bit of humor.
If it's really unacceptable, somebody please delete it.
I don't think it needs deleting, it's just not something we should highlight in TWiR.
think im turning into a computer because ive been reading the rust book for the past two days and now im dreaming in code
by user Koffeekake on community discord server
Might be good to have this as the quote of the week? It sends a good message IMHO.
(Also, @ZiCog I found you're quote funny too but I agree with josh)