TWiR quote of the week

Self-suggestion:

The error message code will at one point become sentient and decide to send a robot back in time to save mankind from skynet [...]

(Rust 2021 – Looking Back and Forth — Llogiq on stuff)

3 Likes

I performed an extremely scientific poll on twitter, and determined this is not how it's pronounced

Well, it really is Vec<T, A>, pronounced Veck-tah. :stuck_out_tongue:

Look, I moved away from Boston to avoid this sort of thing :laughing:.

-- thomcc and the8472 in Remove pronunciation guide from Vec<T>

14 Likes

"For me, the joy of Rust comes from the fact that I can write code that represents the mental model I have of the problem" - Jon Gjengset, 2022-01-01 Q&A/AMA/Whatchamacallit.

I resonated so strong with this statement. This is the reason why I find joy in Rust and I evangelize about it.

10 Likes

I see a lot of “we rewrote X in Rust and it got faster” posts. I think that if you rewrite anything from scratch with performance in mind, you’ll see a significant performance improvement. I’m suspicious of how much Rust itself is needed versus the developers having some performance discipline.

By Chris Done on My negative views on Rust.

4 Likes

So why aren't we all fuzzing security-sensitive surfaces, at least for a modest number of cycles? Well that comes down to the difference between apes and programmers: apes know when they should be using tools.

-- Tiemoko Ballo @ Tiemoko Ballo

6 Likes

is turbofishing a verb?

jbe @ Replace type annotation with turbofish - #2 by jbe

7 Likes

@ZiCog on Negative views on Rust ( not mine! )

13 Likes

Over on IRLO,

9 Likes

@kornel in Type ascription - #4 by kornel

I simply love both the spirit of the joke itself, as well as the brilliant analogy with None::<T> vs. None::<U>.

9 Likes

Here's a longer version if you like :slight_smile: https://mastodon.social/web/@kornel/106529805088932347

7 Likes

About the security vulnerability in Rust that happen in C++ standard libraries too :

Rust : We have a race condition bug in our standard filesystem library !
C++ : You guys have a concurrency safe standard filesystem library ?
C : You guys have a standard filesystem library ?

source: redditmodsareshits comments on Possible TOCTOU vulnerabilities in libstdc++/libc++/msvc for std::filesystem::remove_all?

23 Likes

One member in Rust Taiwan community tries to cheer up everyone who starts learning Rust but feels it's too hard:

Nearly everyone I met had given up learning Rust for the first time. Just take a rest. Rust moves nowhere unless you drop it.

Love the pun and would like to suggest it as quote of the week.

source: @henry40408 https://twitter.com/henry40408/status/1484811813027868672

12 Likes

A common sentiment, but expressed well and coming from Amazon:

Using Rust has enabled programmers of all experience levels to contribute code without requiring reviewers to carefully scrutinize every line for safety pitfalls. We trust the compiler, and we can focus our code reviews on functionality, not language corner cases.

15 Likes

rustlang shepherds you into becoming a catgirl

2 Likes

In 1769, Euler made his "sum of powers" conjecture. In 1966, L. J. Lander and T. R. Parkin disproved the conjecture with a counterexample they found using a CDC 6600 mainframe computer. Their paper famously contained just two sentences.

In 2022, your browser running on your phone can find their counterexample and additional counterexamples in about 2 seconds.

Try it yourself at COUNTEREXAMPLE TO EULER'S CONJECTURE ON SUMS OF LIKE POWERS. The page uses Rust and WASM.

6 Likes

Also, I feel that if you are willing to spend time on a standard, better encode all you learn into the types you use. You will inevitably forget most details, and it is only a question of time that you break something because of that.

https://duesee.dev/p/type-driven-development/

5 Likes

And actually, what about nominating TWiR for TWiR QotW? :upside_down_face:

impl Not for ! (did you guess that "not never" is still "never"?)

https://this-week-in-rust.org/blog/2022/01/26/this-week-in-rust-427/

11 Likes

Why use rust?

Rust is the ideal language to use if you want your code to be able to be compiled by the Rust compiler.

15 Likes

The goal of Rust is to have the power of C++ without the scary.

3 Likes

Wait ada is calling packages "crates" too?

2 Likes