TWiR quote of the week

From Why choose rust over C or C++:

6 Likes

Humor by @FedericoStra in response to

12 Likes

unsafe Rust is all about flirting with UB but never giving in.

@RalfJung on zulip

11 Likes

Once you realize that the Rust borrow checker is actually preventing you from writing bug after bug, you start to wonder how we ever got this far without it.

8 Likes

Empowering is the perfect word to describe Rust in 2020. What used to be a rough adventure with many pitfalls has turned into something beautiful, something that can lift your spirit. At least, that’s what it did for me.
Mathias Lafeldt in https://sharpend.io/giving-rust-another-shot-in-2020/

9 Likes

source

7 Likes

If you've never tried Rust, imagine pair programming alongside a nearly-omniscient but narrowly-focused perfectionist.

Source

18 Likes
13 Likes
13 Likes

I'll admit, I've sat at my desk with a huge smile thinking "I couldn't have built this without lifetimes."

Via /u/Theemuts in /r/rust

5 Likes

The amount of careful thought I've seen put into [Rust's] design – crafting async/await to work in no_std environments, or the new inline assembly syntax – has produced a language that is not only better than what I could have designed, it's better among axes I was not even aware existed prior to reading the Rust RFCs.
-- https://john-millikin.com/first-impressions-of-rust

14 Likes

This is not a commentary on the actual issue that triggered this response. Rather, I just liked the response.

8 Likes

Whoop whoop, this feels like being knighted, and all the work totally paid off. Iteration after iteration after iteration, and it really was just Rust pushing me into doing "what's right", which also happens to be fast as a freebie.

-- Sebastian Thiel in https://github.com/Byron/gitoxide/issues/1#issuecomment-672636220

1 Like

There is a more technical term for "wrong", too - maintaining invariants is maintaining "soundness". Code that breaks invariants is called "unsound".

-- https://fasterthanli.me/articles/frustrated-its-not-you-its-rust

You're smarter than Rust - and you may need to rethink your design a bit, so it's possible to tell the compiler about it.

And when you do, you'll discover mistakes you never knew you could make.

-- https://www.reddit.com/r/rust/comments/i9sor7/frustrated_its_not_you_its_rust/g1h6a7a/

5 Likes

“macros are for when you run out of language”. If you still have language left—and Rust gives you a lot of language—use the language first.

-- https://twitter.com/pcwalton/status/1294676975575896064

11 Likes

Not only is our new Rust code simpler and cross-platform, but it’s faster to boot!

~ https://astropad.com/why-rust/

1 Like

Programming's always been frustrating. Rust just makes the frustrations more likely to happen to you, and not your users.

/u/legowerewolf pointedly summarizes Rust's guiding principles in Reddit Discussion "Frustrated? It's not you, it's Rust"

11 Likes

Regarding alternatives to inheritance:

1 Like

Man, I love it when the #RIIR (“Rewrite It In Rust”) virus mania spreads like wildfire :slight_smile:

rggr on lobste.rs https://lobste.rs/s/3skmql/gitoxide_pure_rust_implementation_git#c_mkej1t